CVE-2012-3866: Low severity puppet vulnerability

Published Jul 11, 2012
·
Updated

lib/puppet/defaults.rb in Puppet 2.7.x before 2.7.18, and Puppet Enterprise before 2.5.2, uses 0644 permissions for lastrunreport.yaml, which allows local users to obtain sensitive configuration information by leveraging access to the puppet master server to read this file.

Other sources

From puppet labs: CVE-2012-3866 (lastrunreport.yaml is world readable)

A bug in Puppet 2.7.17 leaves lastrunreport.yaml world readable.

The most recent Puppet run report is stored on the Puppet master with world-readable permissions. The report file contains the context diffs of any changes to configuration on an agent, which may contain sensitive information that an attacker can then access. The last run report is overwritten with every Puppet run.

Note: This only affects the 2.7 series of Puppet.

Resolved in Puppet 2.7.18

Red Hat

lib/puppet/defaults.rb in Puppet 2.7.x before 2.7.18, and Puppet Enterprise before 2.5.2, uses 0644 permissions for lastrunreport.yaml, which allows local users to obtain sensitive configuration information by leveraging access to the puppet master server to read this file.

MITRE

Affected Software

19 affected componentsFixes available
rubygems/puppet>=2.7.0<2.7.18
2.7.18
redhat/puppet<2.7.18
2.7.18
Puppet Puppet=2.7.2
Puppet Puppet=2.7.3
Puppet Puppet=2.7.4
Puppet Puppet=2.7.5
Puppet Puppet=2.7.6
Puppet Puppet=2.7.8
Puppet Puppet=2.7.9
Puppet Puppet=2.7.10
Puppet Puppet=2.7.11
Puppet Puppet=2.7.12
Puppet Puppet=2.7.13
Puppet Puppet=2.7.14
Puppet Puppet=2.7.16
Puppetlabs Puppet<=2.7.17
Puppetlabs Puppet=2.7.0
Puppetlabs Puppet=2.7.1
Puppet Puppet Enterprise<=2.5.1

Event History

Aug 6, 2012
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
Description
Oct 24, 2017
Advisory Published
06:33 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2012-3866?

CVE-2012-3866 is considered a medium severity vulnerability due to potential exposure of sensitive configuration information.

2

How do I fix CVE-2012-3866?

To fix CVE-2012-3866, upgrade Puppet to version 2.7.18 or higher.

3

What does CVE-2012-3866 affect?

CVE-2012-3866 affects Puppet versions 2.7.x prior to 2.7.18 and Puppet Enterprise versions prior to 2.5.2.

4

Can CVE-2012-3866 be exploited remotely?

CVE-2012-3866 requires local access to the puppet master server to exploit the vulnerability.

5

What information is exposed by CVE-2012-3866?

CVE-2012-3866 may expose sensitive configuration information contained in the last_run_report.yaml file.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203