Amazon Linux AMI : puppet (ALAS-2012-53)

This script is Copyright (C) 2013-2014 Tenable Network Security, Inc.


Synopsis :

The remote Amazon Linux AMI host is missing a security update.

Description :

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, when
managing a user login file with the k5login resource type, allows
local users to gain privileges via a symlink attack on .k5login.

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.

See also :

http://www.nessus.org/u?4e0d7d21

Solution :

Run 'yum update puppet' to update your system.

Risk factor :

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

Family: Amazon Linux Local Security Checks

Nessus Plugin ID: 69660 ()

Bugtraq ID:

CVE ID: CVE-2012-1053
CVE-2012-1054