Linux-PAM Configuration File Non-ASCII User Name Handling Local Privilege Escalation Vulnerability

BID:34010

Info

Linux-PAM Configuration File Non-ASCII User Name Handling Local Privilege Escalation Vulnerability

Bugtraq ID: 34010
Class: Design Error
CVE: CVE-2009-0887
Remote: No
Local: Yes
Published: Mar 05 2009 12:00AM
Updated: May 30 2011 09:41PM
Credit: Marcus Granado
Vulnerable: Ubuntu Ubuntu Linux 8.04 LTS sparc
Ubuntu Ubuntu Linux 8.04 LTS powerpc
Ubuntu Ubuntu Linux 8.04 LTS lpia
Ubuntu Ubuntu Linux 8.04 LTS i386
Ubuntu Ubuntu Linux 8.04 LTS amd64
Ubuntu Ubuntu Linux 11.04 powerpc
Ubuntu Ubuntu Linux 11.04 i386
Ubuntu Ubuntu Linux 11.04 ARM
Ubuntu Ubuntu Linux 11.04 amd64
Ubuntu Ubuntu Linux 10.10 powerpc
Ubuntu Ubuntu Linux 10.10 i386
Ubuntu Ubuntu Linux 10.10 ARM
Ubuntu Ubuntu Linux 10.10 amd64
Ubuntu Ubuntu Linux 10.04 sparc
Ubuntu Ubuntu Linux 10.04 powerpc
Ubuntu Ubuntu Linux 10.04 i386
Ubuntu Ubuntu Linux 10.04 ARM
Ubuntu Ubuntu Linux 10.04 amd64
Pardus Linux 2008 0
MandrakeSoft Multi Network Firewall 2.0
MandrakeSoft Linux Mandrake 2009.0 x86_64
MandrakeSoft Linux Mandrake 2009.0
MandrakeSoft Linux Mandrake 2008.1 x86_64
MandrakeSoft Linux Mandrake 2008.1
MandrakeSoft Linux Mandrake 2008.0 x86_64
MandrakeSoft Linux Mandrake 2008.0
MandrakeSoft Corporate Server 4.0 x86_64
MandrakeSoft Corporate Server 3.0 x86_64
MandrakeSoft Corporate Server 3.0
MandrakeSoft Corporate Server 4.0
Linux-PAM Linux-PAM 1.0.3
Gentoo Linux
Not Vulnerable: Linux-PAM Linux-PAM 1.0.4

Discussion

Linux-PAM Configuration File Non-ASCII User Name Handling Local Privilege Escalation Vulnerability

Linux-PAM is prone to a vulnerability related to the parsing of user names containing non-ASCII characters from PAM configuration files. Specifically, this issue is caused by an error in the '_pam_StrTok()' function, which may strip a single trailing non-ASCII character from user names before returning them as 'arg3'.

Note that root access is required to modify the affected configuration files.

A local attacker may exploit this issue to authenticate as additional users. The attacker may be able to create a denial-of-service condition or possibly to execute arbitrary code as the affected process, but this has not been confirmed.

Versions prior to Linux-PAM 1.0.4 are vulnerable.

Exploit / POC

Linux-PAM Configuration File Non-ASCII User Name Handling Local Privilege Escalation Vulnerability

An attacker may exploit this issue via readily available tools.

Solution / Fix

Linux-PAM Configuration File Non-ASCII User Name Handling Local Privilege Escalation Vulnerability

Solution:
Updates are available. Please see the references for more information.


MandrakeSoft Linux Mandrake 2008.1 x86_64

MandrakeSoft Linux Mandrake 2008.1

MandrakeSoft Linux Mandrake 2008.0 x86_64

MandrakeSoft Linux Mandrake 2008.0

MandrakeSoft Linux Mandrake 2009.0

MandrakeSoft Corporate Server 4.0

MandrakeSoft Linux Mandrake 2009.0 x86_64

Linux-PAM Linux-PAM 1.0.3

MandrakeSoft Multi Network Firewall 2.0

MandrakeSoft Corporate Server 3.0 x86_64

MandrakeSoft Corporate Server 3.0

MandrakeSoft Corporate Server 4.0 x86_64

References

Linux-PAM Configuration File Non-ASCII User Name Handling Local Privilege Escalation Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report