Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1575473 - (CVE-2018-1121) CVE-2018-1121 procps-ng, procps: process hiding through race condition enumerating /proc
CVE-2018-1121 procps-ng, procps: process hiding through race condition enumer...
Status: CLOSED WONTFIX
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20180517:1700,repor...
: Security
Depends On:
Blocks: 1575455
  Show dependency treegraph
 
Reported: 2018-05-07 00:16 EDT by Doran Moppert
Modified: 2018-06-04 05:25 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
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.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-06-04 05:25:32 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Doran Moppert 2018-05-07 00:16:05 EDT
An unprivileged attacker can hide a process from procps-ng's utilities by exploiting a race condition in reading /proc/PID entries.

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.
Comment 3 Doran Moppert 2018-05-10 22:58:00 EDT
Statement:

The /proc filesystem is not a reliable mechanism to account for processes running on a system, as it is unable to offer snapshot semantics. Short-lived processes have always been able to escape detection by tools that monitor /proc. This CVE simply identifies a reliable way to do so using inotify.

Process accounting for security purposes, or with a requirement to record very short-running processes and those attempting to evade detection, should be performed with more robust methods such as auditd(8) (the Linux Audit Daemon) or systemtap.
Comment 4 Adam Mariš 2018-05-16 07:17:41 EDT
Acknowledgments:

Name: Qualys Research Labs
Comment 5 Doran Moppert 2018-05-18 01:13:31 EDT
Public via: http://seclists.org/oss-sec/2018/q2/122
Comment 6 Doran Moppert 2018-05-18 01:13:37 EDT
External References:

https://www.qualys.com/2018/05/17/procps-ng-audit-report-advisory.txt

Note You need to log in before you can comment on or make changes to this bug.