3.9low

CVE-2018-11211 exploit

procps-ng, procps is vulnerable to a process hiding through race condition.

Published 8 y ago · modified 4 mo ago · JSON

CVSS
3.9
v3.0 · CNA
CISA KEV
No
not known exploited
EPSS
4.1%
percentile 91%
Public exploits
1
Exploit-DB

Summary

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.

Exploit prediction (EPSS)

4.11% probability of exploitation in the next 30 days, higher than 91% of all scored CVEs.

Exploits and detections

  • EDB-44806 Procps-ng - Multiple Vulnerabilities · local · 2018-05-30

CVSS scores

Assigned byVersionScoreVector
CNA3.03.9CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L
CNA3.03.9CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L
NVD3.05.9CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD2.04.3AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected products

  • [UNKNOWN] procps-ng, procps

Classification

Weakness
  • CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization

References

  • exploit-db.com /exploits/44806/ · exploit, x_refsource_EXPLOIT-DB, x_transferred
  • bugzilla.redhat.com /show_bug.cgi?id=CVE-2018-1121 · x_refsource_CONFIRM, x_transferred
  • securityfocus.com /bid/104214 · vdb-entry, x_refsource_BID, x_transferred
  • seclists.org /oss-sec/2018/q2/122 · mailing-list, x_refsource_MLIST, x_transferred
  • qualys.com /2018/05/17/procps-ng-audit-report-advisory.txt · x_refsource_MISC, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.