Amazon Linux AMI : openssh Arbitrary Code Execution (ALAS-2013-165)

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


Synopsis :

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

Description :

Due to the way the pam_ssh_agent_auth PAM module was built, the
glibc's error() function was called rather than the intended error()
function in pam_ssh_agent_auth to report errors. As these two
functions expect different arguments, it was possible for an attacker
to cause an application using pam_ssh_agent_auth to crash, disclose
portions of its memory or, potentially, execute arbitrary code.
(CVE-2012-5536)

See also :

http://www.nessus.org/u?88ca10c9

Solution :

Run 'yum update openssh' to update your system.

Risk factor :

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

Family: Amazon Linux Local Security Checks

Nessus Plugin ID: 69724 ()

Bugtraq ID:

CVE ID: CVE-2012-5536