Linux ps Vulnerability

BID:360

Info

Linux ps Vulnerability

Bugtraq ID: 360
Class: Design Error
CVE:
Remote: No
Local: Yes
Published: Jun 13 1999 12:00AM
Updated: Jun 13 1999 12:00AM
Credit: First posted to BugTraq by alpen <[email protected]> on June 14, 1999.
Vulnerable: SuSE Linux 6.1
Slackware Linux 4.0
Pacific HiTech TurboLinux 1.2
Not Vulnerable: Redhat Linux 6.0

Discussion

Linux ps Vulnerability

In recent Linux distributions, the ps binary is defective and creates a subtle vulnerability for the operating system as a whole. When processes are running in the background and belong to a user who is deleted via deluser, a regular ps aux will not display them. This is because the user is removed from /etc/passwd. When ps tries to lookup the userid in /etc/passwd for a username, it finds nothing and will not display the process at all.

Exploit / POC

Linux ps Vulnerability

Currently the SecurityFocus staff are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected].

Solution / Fix

Linux ps Vulnerability

Solution:
The ghost processes can be listed with the defective ps by typing ps -aunx. The reason for this is because the n flag tells ps not to lookup the username in /etc/passwd.

References

Linux ps 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