CVE-2012-3867: Input Validation

Published Jul 11, 2012
·
Updated

From puppet labs: CVE-2012-3867 (Insufficient input validation)

A bug in Puppet 2.6.16 and 2.7.17 uses insufficient input validation for agent certificate names.

An attacker can trick the administrator into signing an attacker’s certificate rather than the intended one by constructing specially crafted certificate requests containing specific ANSI control sequences. It is possible to use the sequences to rewrite the order of text displayed to an administrator such that display of an invalid certificate and valid certificate are transposed. If the administrator signs the attacker’s certificate, the attacker can then man-in-the-middle the deployment’s agent nodes.

Resolved in Puppet 2.6.17, 2.7.18

Other sources

lib/puppet/ssl/certificateauthority.rb in Puppet before 2.6.17 and 2.7.x before 2.7.18, and Puppet Enterprise before 2.5.2, does not properly restrict the characters in the Common Name field of a Certificate Signing Request (CSR), which makes it easier for user-assisted remote attackers to trick administrators into signing a crafted agent certificate via ANSI control sequences.

MITRE

Affected Software

49 affected componentsFixes available
redhat/puppet<2.6.17
2.6.17
redhat/puppet<2.7.18
2.7.18
Puppet Puppet=2.6.0
Puppet Puppet=2.6.1
Puppet Puppet=2.6.2
Puppet Puppet=2.6.3
Puppet Puppet=2.6.4
Puppet Puppet=2.6.5
Puppet Puppet=2.6.6
Puppet Puppet=2.6.7
Puppet Puppet=2.6.8
Puppet Puppet=2.6.9
Puppet Puppet=2.6.10
Puppet Puppet=2.6.11
Puppet Puppet=2.6.12
Puppet Puppet=2.6.13
Puppet Puppet=2.6.14
Puppet Puppet=2.6.15
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.7
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
Puppet Puppet=2.7.17
Puppetlabs Puppet<=2.6.16
Puppetlabs Puppet=2.7.0
Puppetlabs Puppet=2.7.1
Debian Debian Linux=6.0
Canonical Ubuntu Linux=10.04
Canonical Ubuntu Linux=11.04
Canonical Ubuntu Linux=11.10
Canonical Ubuntu Linux=12.04
openSUSE openSUSE=11.4
openSUSE openSUSE=12.1
SUSE Linux Enterprise Desktop=11-sp1
SUSE Linux Enterprise Desktop=11-sp2
SUSE Linux Enterprise Server=11-sp1
SUSE Linux Enterprise Server Vmware=11-sp1
SUSE Linux Enterprise Server=11-sp2
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
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-3867?

CVE-2012-3867 has a moderate level of severity due to insufficient input validation in Puppet.

2

How do I fix CVE-2012-3867?

To fix CVE-2012-3867, upgrade Puppet to version 2.6.17 or 2.7.18 or later.

3

Which versions of Puppet are affected by CVE-2012-3867?

CVE-2012-3867 affects Puppet versions 2.6.16 and 2.7.17 and earlier.

4

What type of vulnerability is CVE-2012-3867?

CVE-2012-3867 is classified as an insufficient input validation vulnerability.

5

Can an attacker exploit CVE-2012-3867 remotely?

Yes, an attacker with local access could exploit CVE-2012-3867 by tricking an administrator into signing a malicious certificate.

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