GLSA-200903-39 : pam_krb5: Privilege escalation

This script is Copyright (C) 2009-2015 Tenable Network Security, Inc.

Synopsis :

The remote Gentoo host is missing one or more security-related

Description :

The remote host is affected by the vulnerability described in GLSA-200903-39
(pam_krb5: Privilege escalation)

The following vulnerabilities were discovered:
does not properly initialize the Kerberos libraries for setuid use
Derek Chan reported that calls to
pam_setcred() are not properly handled when running setuid

Impact :

A local attacker could set an environment variable to point to a
specially crafted Kerberos configuration file and launch a PAM-based
setuid application to elevate privileges, or change ownership and
overwrite arbitrary files.

Workaround :

There is no known workaround at this time.

See also :

Solution :

All pam_krb5 users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=sys-auth/pam_krb5-3.12'

Risk factor :

Medium / CVSS Base Score : 6.2
CVSS Temporal Score : 5.4
Public Exploit Available : true

Family: Gentoo Local Security Checks

Nessus Plugin ID: 36027 (gentoo_GLSA-200903-39.nasl)

Bugtraq ID: 33740

CVE ID: CVE-2009-0360