Permissions, Privileges, and Access Controls in Puppet Agent - CVE-2012-3866
Published: August 6, 2012 / Updated: December 8, 2022
Puppet Agent
Detailed vulnerability description
The vulnerability allows a remote non-authenticated attacker to gain access to sensitive information.
lib/puppet/defaults.rb in Puppet 2.7.x before 2.7.18, and Puppet Enterprise before 2.5.2, uses 0644 permissions for last_run_report.yaml, which allows local users to obtain sensitive configuration information by leveraging access to the puppet master server to read this file.
How to mitigate CVE-2012-3866
Sources
- http://lists.opensuse.org/opensuse-updates/2012-07/msg00036.html
- http://puppetlabs.com/security/cve/cve-2012-3866/
- http://secunia.com/advisories/50014
- http://www.debian.org/security/2012/dsa-2511
- http://www.ubuntu.com/usn/USN-1506-1
- https://bugzilla.redhat.com/show_bug.cgi?id=839135
- https://github.com/puppetlabs/puppet/commit/fd44bf5e6d0d360f6a493d663b653c121fa83c3f