### [CVE-2018-1122](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1122) ![](https://img.shields.io/static/v1?label=Product&message=procps-ng%2C%20procps&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-829&color=brighgreen) ### Description procps-ng before version 3.3.15 is vulnerable to a local privilege escalation in top. If a user runs top with HOME unset in an attacker-controlled directory, the attacker could achieve privilege escalation by exploiting one of several vulnerabilities in the config_file() function. ### POC #### Reference - http://seclists.org/oss-sec/2018/q2/122 - http://seclists.org/oss-sec/2018/q2/122 - https://www.exploit-db.com/exploits/44806/ - https://www.exploit-db.com/exploits/44806/ - https://www.qualys.com/2018/05/17/procps-ng-audit-report-advisory.txt - https://www.qualys.com/2018/05/17/procps-ng-audit-report-advisory.txt #### Github No PoCs found on GitHub currently.