CVE-2012-1988: Puppet Arbitrary Command Execution
6
CVSS Score
Basic Information
CVE ID
GHSA ID
EPSS Score
0.64679%
CWE
Published
5/14/2022
Updated
2/6/2024
KEV Status
No
Technology
Ruby
Technical Details
CVSS Vector
AV:N/AC:M/Au:S/C:P/I:P/A:P
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
puppet | rubygems | >= 2.6.0, < 2.6.15 | 2.6.15 |
puppet | rubygems | >= 2.7.0, < 2.7.13 | 2.7.13 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from the 'bucket_path' parameter being passed through in filebucket requests. The fix in commit 0d6d299 explicitly deletes this parameter in the uri2indirection
method, indicating it was the injection point. The function
's failure to remove this parameter allowed attackers to control the file path used in shell commands, leading to arbitrary command execution via path manipulation.