cve/2018/CVE-2018-1121.md

20 lines
1.2 KiB
Markdown
Raw Normal View History

2024-05-26 14:27:05 +02:00
### [CVE-2018-1121](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1121)
![](https://img.shields.io/static/v1?label=Product&message=procps-ng%2C%20procps&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20up%20to%20procps-ng%203.3.15%20and%20newer%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-367&color=brighgreen)
### Description
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.
### POC
#### Reference
- http://seclists.org/oss-sec/2018/q2/122
- https://www.exploit-db.com/exploits/44806/
- https://www.qualys.com/2018/05/17/procps-ng-audit-report-advisory.txt
#### Github
No PoCs found on GitHub currently.