[SECURITY] [DSA 2314-1] puppet security update


- -------------------------------------------------------------------------- Debian Security Advisory DSA-2314-1 security@debian.org http://www.debian.org/security/ Nico Golde Oct 3, 2011 http://www.debian.org/security/faq - -------------------------------------------------------------------------- Package : puppet Vulnerability : multiple Problem type : local/remote Debian-specific: no Debian bug : none CVE IDs : CVE-2011-3848 CVE-2011-3870 CVE-2011-3869 CVE-2011-3871 Multiple security issues have been discovered in puppet, a centralized configuration management system. The Common Vulnerabilities and Exposures project identifies the following problems: CVE-2011-3848 Kristian Erik Hermansen reported that an unauthenticated directory traversal could drop any valid X.509 Certificate Signing Request at any location on disk, with the privileges of the Puppet Master application. CVE-2011-3870 Ricky Zhou discovered a potential local privilege escalation in the ssh_authorized_keys resource and theoretically in the Solaris and AIX providers, where file ownership was given away before it was written, leading to a possibility for a user to overwrite arbitrary files as root, if their authorized_keys file was managed. CVE-2011-3869 A predictable file name in the k5login type leads to the possibility of symlink attacks which would allow the owner of the home directory to symlink to anything on the system, and have it replaced with the "correct" content of the file, which can lead to a privilege escalation on puppet runs. CVE-2011-3871 A potential local privilege escalation was found in the --edit mode of 'puppet resource' due to a persistant, predictable file name, which can result in editing an arbitrary target file, and thus be be tricked into running that arbitrary file as the invoking user. This command is most commonly run as root, this leads to a potential privilege escalation. Additionally, this update hardens the indirector file backed terminus base class against injection attacks based on trusted path names. For the oldstable distribution (lenny), this problem will be fixed soon. For the stable distribution (squeeze), this problem has been fixed in version 2.6.2-5+squeeze1. For the testing distribution (wheezy), this has been fixed in version 2.7.3-3. For the unstable distribution (sid), this problem has been fixed in version 2.7.3-3. We recommend that you upgrade your puppet packages. Further information about Debian Security Advisories, how to apply these updates to your system and frequently asked questions can be found at: http://www.debian.org/security/ Mailing list: debian-security-announce@lists.debian.org

Affected Package

OS OS Version Package Name Package Version
Debian 6 puppet-el 2.6.2-5+squeeze1
Debian 6 puppetmaster 2.6.2-5+squeeze1
Debian 6 puppet-testsuite 2.6.2-5+squeeze1
Debian 6 puppet 2.6.2-5+squeeze1
Debian 6 vim-puppet 2.6.2-5+squeeze1
Debian 6 puppet-common 2.6.2-5+squeeze1