USN-1372-1: Puppet vulnerabilities

Ubuntu Security Notice USN-1372-1

23rd February, 2012

puppet vulnerabilities

A security issue affects these releases of Ubuntu and its derivatives:

  • Ubuntu 11.10
  • Ubuntu 11.04
  • Ubuntu 10.10
  • Ubuntu 10.04 LTS

Summary

Puppet could be made to overwrite files and run programs with administrator privileges.

Software description

  • puppet - Centralized configuration management

Details

It was discovered that Puppet did not drop privileges when executing
commands as different users. If an attacker had control of the execution
manifests or the executed command, this could be used to execute code with
elevated group permissions (typically root). (CVE-2012-1053)

It was discovered that Puppet unsafely opened files when the k5login type
is used to manage files. A local attacker could exploit this to overwrite
arbitrary files and escalate privileges. (CVE-2012-1054)

Update instructions

The problem can be corrected by updating your system to the following package version:

Ubuntu 11.10:
puppet-common 2.7.1-1ubuntu3.5
Ubuntu 11.04:
puppet-common 2.6.4-2ubuntu2.8
Ubuntu 10.10:
puppet-common 2.6.1-0ubuntu2.6
Ubuntu 10.04 LTS:
puppet-common 0.25.4-2ubuntu6.6

To update your system, please follow these instructions: https://wiki.ubuntu.com/Security/Upgrades.

In general, a standard system update will make all the necessary changes.

References

CVE-2012-1053, CVE-2012-1054