CVE-2018-1121

procps-ng, procps is vulnerable to a process hiding through race condition. Since the kernel's proc_pid_readdir() returns PID entries in ascending numeric order, a process occupying a high PID can use inotify events to determine when the process list is being scanned, and fork/exec to obtain a lower PID, thus avoiding enumeration. An unprivileged attacker can hide a process from procps-ng's utilities by exploiting a race condition in reading /proc/PID entries. This vulnerability affects procps and procps-ng up to version 3.3.15, newer versions might be affected also.
References
Link Resource
http://seclists.org/oss-sec/2018/q2/122 Exploit Mailing List Third Party Advisory
http://www.securityfocus.com/bid/104214 Third Party Advisory VDB Entry
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1121 Issue Tracking Third Party Advisory
https://www.exploit-db.com/exploits/44806/ Exploit Third Party Advisory VDB Entry
https://www.qualys.com/2018/05/17/procps-ng-audit-report-advisory.txt Exploit Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:procps_project:procps:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2018-06-13 20:29

Updated : 2024-02-28 16:25


NVD link : CVE-2018-1121

Mitre link : CVE-2018-1121

CVE.ORG link : CVE-2018-1121


JSON object : View

Products Affected

procps_project

  • procps
CWE
CWE-362

Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

CWE-367

Time-of-check Time-of-use (TOCTOU) Race Condition