CVE-2012-1986 Path traversal in n/a
Remote authenticated users can read arbitrary files on the Puppet master via a symlink attack in filebucket requests.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2012-1986?
CVE-2012-1986 is a low-severity path traversal vulnerability in Puppet Puppet Enterprise, published on 29 May 2012. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Puppet 2.6.x before 2.6.15 and 2.7.x before 2.7.13, and Puppet Enterprise (PE) Users 1.0, 1.1, 1.2.x, 2.0.x, and 2.5.x before 2.5.1 allows remote authenticated users with an authorized SSL key and certain permissions on the puppet master to read arbitrary files via a symlink attack in conjunction with a crafted REST request for a file in a filebucket.
Weakness: CWE-264
Which versions are affected by CVE-2012-1986?
It affects 4 products.
Products include Puppet Puppet, Puppet Puppet Enterprise, Puppetlabs Puppet, Puppetlabs Puppet Enterprise Users.
How do I fix CVE-2012-1986?
Upgrade to a fixed version.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2012-1986 being exploited?
There is no known exploitation of CVE-2012-1986 in the wild and no public exploit code.
Other vulnerabilities in Puppet Puppet Enterprise
Sources
Also known as DEBIAN-CVE-2012-1986, GHSA-2crf-gcjf-2wmp.