CHFN User Modification Privilege Escalation Vulnerability

BID:15314

Info

CHFN User Modification Privilege Escalation Vulnerability

Bugtraq ID: 15314
Class: Input Validation Error
CVE: CVE-2005-3503
Remote: No
Local: Yes
Published: Nov 04 2005 12:00AM
Updated: Nov 15 2007 12:37AM
Credit: This issue was announced in the referenced SUSE security advisory. Thomas Gerisch is credited with the discovery of this vulnerability.
Vulnerable: SuSE SUSE Linux Enterprise Server 8
+ Linux kernel 2.4.21
+ Linux kernel 2.4.19
SuSE Linux Enterprise Server 9
SuSE Linux Desktop 1.0
SuSE Linux 8.1
SuSE Linux 8.0 i386
SuSE Linux 8.0
shadow shadow 4.0.3
Salvatore Valente chfn
S.u.S.E. UnitedLinux 1.0
S.u.S.E. Linux Professional 10.0 OSS
S.u.S.E. Linux Professional 10.0
S.u.S.E. Linux Professional 9.3 x86_64
S.u.S.E. Linux Professional 9.3
S.u.S.E. Linux Professional 9.2 x86_64
S.u.S.E. Linux Professional 9.2
S.u.S.E. Linux Professional 9.1 x86_64
S.u.S.E. Linux Professional 9.1
S.u.S.E. Linux Professional 9.0 x86_64
S.u.S.E. Linux Professional 9.0
S.u.S.E. Linux Personal 10.0 OSS
S.u.S.E. Linux Personal 9.3 x86_64
S.u.S.E. Linux Personal 9.3
S.u.S.E. Linux Personal 9.2 x86_64
S.u.S.E. Linux Personal 9.2
S.u.S.E. Linux Personal 9.1 x86_64
S.u.S.E. Linux Personal 9.1
S.u.S.E. Linux Personal 9.0 x86_64
S.u.S.E. Linux Personal 9.0
S.u.S.E. Linux Enterprise Server for S/390 9.0
pwdutils pwdutils 3.0.4
pwdutils pwdutils 2.6.96
pwdutils pwdutils 2.6.90
pwdutils pwdutils 2.6.4
pwdutils pwdutils 2.6.3
Not Vulnerable:

Discussion

CHFN User Modification Privilege Escalation Vulnerability

The 'chfn' utility is prone to a privilege-escalation vulnerability because it fails to properly sanitize user-supplied input.

A local attacker can exploit this vulnerability to escalate privileges to that of the superuser account.

Exploit / POC

CHFN User Modification Privilege Escalation Vulnerability

UPDATE: Core Security Technologies has developed a working commercial exploit for its CORE IMPACT product. This exploit is not otherwise publicly available or known to be circulating in the wild.

An example script demonstrating this issue is provided by Hunger <[email protected]>:

Solution / Fix

CHFN User Modification Privilege Escalation Vulnerability

Solution:
Please see the referenced advisory for more information.


pwdutils pwdutils 2.6.3

pwdutils pwdutils 2.6.90

pwdutils pwdutils 2.6.96

pwdutils pwdutils 3.0.4

shadow shadow 4.0.3

References

CHFN User Modification 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