Directory traversal vulnerability in Puppet 2.6.x before 2.6.10 and 2.7.x before 2.7.4 allows remote attackers to write X.509 Certificate Signing Request (CSR) to arbitrary locations via (1) a double-encoded key parameter in the URI in 2.7.x, (2) the CN in the Subject of a CSR in 2.6 and 0.25.
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Link | Tags |
---|---|
http://www.debian.org/security/2011/dsa-2314 | vendor advisory |
http://lists.opensuse.org/opensuse-updates/2011-10/msg00033.html | vendor advisory |
https://groups.google.com/group/puppet-announce/browse_thread/thread/e57ce2740feb9406 | patch |
https://puppet.com/security/cve/cve-2011-3848 | |
http://www.ubuntu.com/usn/USN-1217-1 | vendor advisory |
http://secunia.com/advisories/46628 | third party advisory vendor advisory |