Ubuntu 10.04 LTS : puppet regression (USN-1223-2)

Ubuntu Security Notice (C) 2011-2016 Canonical, Inc. / NASL script (C) 2011-2016 Tenable Network Security, Inc.


Synopsis :

The remote Ubuntu host is missing a security-related patch.

Description :

USN-1223-1 fixed vulnerabilities in Puppet. A regression was found on
Ubuntu 10.04 LTS that caused permission denied errors when managing
SSH authorized_keys files with Puppet. This update fixes the problem.

We apologize for the inconvenience.

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 which could be used to escalate privileges.
(CVE-2011-3869)

Ricky Zhou discovered that Puppet did not drop privileges
when creating SSH authorized_keys files. A local attacker
could exploit this to overwrite arbitrary files as root.
(CVE-2011-3870)

It was discovered that Puppet used a predictable filename
when using the --edit resource. A local attacker could
exploit this to edit arbitrary files or run arbitrary code
as the user invoking the program, typically root.
(CVE-2011-3871).

Note that Tenable Network Security has extracted the preceding
description block directly from the Ubuntu security advisory. Tenable
has attempted to automatically clean and format it as much as possible
without introducing additional issues.

Solution :

Update the affected puppet-common package.

Risk factor :

Medium / CVSS Base Score : 6.3
(CVSS2#AV:L/AC:M/Au:N/C:N/I:C/A:C)

Family: Ubuntu Local Security Checks

Nessus Plugin ID: 56406 ()

Bugtraq ID:

CVE ID: CVE-2011-3869
CVE-2011-3870
CVE-2011-3871