Puppet forked privilege escalation

puppet-forked-priv-escalation (73445) The risk level is classified as HighHigh Risk

Description:

Puppet could allow a local attacker to gain elevated privileges on the system, caused by the improper dropping of group permissions when a process is forked. A local attacker could exploit this vulnerability to execute arbitrary code on the system with root privileges.

*CVSS:

Base Score: 7.2
  Access Vector: Local
  Access Complexity: Low
  Authentication: None
  Confidentiality Impact: Complete
  Integrity Impact: Complete
  Availability Impact: Complete
 
Temporal Score: 5.3
  Exploitability: Unproven
  Remediation Level: Official-Fix
  Report Confidence: Confirmed

Consequences:

Gain Privileges

Remedy:

Upgrade to the latest version of Puppet (2.6.14, 2.7.11, 2.0.3 Enterprise or later), available from the Puppet Labs Web site. See References.

References:

  • Puppet Labs Web site: CVE-2012-1053 (Local Group Privilege Escalation).
  • BID-52158: Puppet Multiple Local Privilege Escalation Vulnerabilities
  • CVE-2012-1053: The change_user method in the SUIDManager (lib/puppet/util/suidmanager.rb) in 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 does not properly manage group privileges, which allows local users to gain privileges via vectors related to (1) the change_user not dropping supplementary groups in certain conditions, (2) changes to the eguid without associated changes to the egid, or (3) the addition of the real gid to supplementary groups.
  • DSA-2419: puppet -- several vulnerabilities
  • OSVDB ID: 79495: Puppet Forked Process Group Permission Dropping Weakness Local Group Privilege Escalation
  • SA48166: Puppet Group Privileges Security Issue and K5login Privilege Escalation Vulnerability

Platforms Affected:

  • PuppetLabs Puppet 1.0 Enterprise
  • PuppetLabs Puppet 1.1 Enterprise
  • PuppetLabs Puppet 1.2 Enterprise
  • PuppetLabs Puppet 2.0.2 Enterprise
  • PuppetLabs Puppet 2.6
  • PuppetLabs Puppet 2.6.10
  • PuppetLabs Puppet 2.6.11
  • PuppetLabs Puppet 2.6.13
  • PuppetLabs Puppet 2.7.10
  • PuppetLabs Puppet 2.7.4
  • PuppetLabs Puppet 2.7.5

Reported:

Feb 24, 2012

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page