GLSA-200909-01 : Linux-PAM: Privilege escalation

medium Nessus Plugin ID 40879

Synopsis

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

Description

The remote host is affected by the vulnerability described in GLSA-200909-01 (Linux-PAM: Privilege escalation)

Marcus Granado repoted that Linux-PAM does not properly handle user names that contain Unicode characters. This is related to integer signedness errors in the pam_StrTok() function in libpam/pam_misc.c.
Impact :

A remote attacker could exploit this vulnerability to cause a Denial of Service. A remote authenticated attacker could exploit this vulnerability to log in to a system with the account of a user that has a similar user name, but with non-ASCII characters.
Workaround :

There is no known workaround at this time.

Solution

All Linux-PAM users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=sys-libs/pam-1.0.4'

See Also

https://security.gentoo.org/glsa/200909-01

Plugin Details

Severity: Medium

ID: 40879

File Name: gentoo_GLSA-200909-01.nasl

Version: 1.11

Type: local

Published: 9/8/2009

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.6

Temporal Score: 5.5

Vector: CVSS2#AV:L/AC:M/Au:S/C:C/I:C/A:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:pam, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/7/2009

Reference Information

CVE: CVE-2009-0887

BID: 34010

CWE: 189

GLSA: 200909-01