CVE-2012-1054 Path traversal in n/a
Local attackers can escalate privileges via symlink attacks on .k5login files when Puppet manages user login files.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2012-1054?
CVE-2012-1054 is a medium-severity path traversal vulnerability in Puppet Puppet Enterprise, published on 29 May 2012. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Puppet 2.6.x before 2.6.14 and 2.7.x before 2.7.11, and Puppet Enterprise (PE) Users 1.0, 1.1, 1.2.x, 2.0.x before 2.0.3, when managing a user login file with the k5login resource type, allows local users to gain privileges via a symlink attack on .k5login.
Weakness: CWE-264
Which versions are affected by CVE-2012-1054?
It affects 4 products.
Products include Puppet Puppet, Puppet Puppet Enterprise, Puppetlabs Puppet, Puppetlabs Puppet Enterprise Users.
How do I fix CVE-2012-1054?
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-1054 being exploited?
There is no known exploitation of CVE-2012-1054 in the wild and no public exploit code.
Other vulnerabilities in Puppet Puppet Enterprise
Sources
Also known as DEBIAN-CVE-2012-1054, GHSA-9v7j-xc2x-vpx6.