Amazon Linux AMI : puppet Multiple Vulnerabilities (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 :

The puppet 2.6.14 release notes summarize the issues as group and user
privilege escalations, as follows :

A bug in Puppet gives unexpected and improper group privileges to
execs and types/providers. When executing commands as a different
user, Puppet leaves the forked process with Puppet's own group
permissions.

If a user's .k5login file is a symlink, Puppet will overwrite the
link's target when managing that user's login file with the k5login
resource type. This allows local privilege escalation by linking a
user's .k5login file to root's .k5login file.

See also :

http://projects.puppetlabs.com/projects/1/wiki/Release_Notes#2.6.14
https://admin.fedoraproject.org/updates/puppet-2.6.14-1.el6
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