Ubuntu 8.04 LTS / 10.04 LTS / 10.10 / 11.04 / 11.10 : pam vulnerabilities (USN-1237-1)

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


Synopsis :

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

Description :

Kees Cook discovered that the PAM pam_env module incorrectly handled
certain malformed environment files. A local attacker could use this
flaw to cause a denial of service, or possibly gain privileges. The
default compiler options for affected releases should reduce the
vulnerability to a denial of service. (CVE-2011-3148)

Kees Cook discovered that the PAM pam_env module incorrectly handled
variable expansion. A local attacker could use this flaw to cause a
denial of service. (CVE-2011-3149)

Stephane Chazelas discovered that the PAM pam_motd module incorrectly
cleaned the environment during execution of the motd scripts. In
certain environments, a local attacker could use this to execute
arbitrary code as root, and gain privileges.

Solution :

Update the affected libpam-modules package.

Risk factor :

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

Family: Ubuntu Local Security Checks

Nessus Plugin ID: 56629 ()

Bugtraq ID:

CVE ID: CVE-2011-3148
CVE-2011-3149
CVE-2011-3628