CVE-2018-1122
published 2018-05-23CVE-2018-1122: 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…
PriorityP335high7CVSS 3.0
AVLACHPRLUINSUCHIHAH
EXPLOIT
EPSS
1.30%
66.8th percentile
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.
Affected
18 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | procps | < procps 2:3.3.15-1 (bookworm) | procps 2:3.3.15-1 (bookworm) |
| paloalto | pan-os | — | — |
| procps-ng_project | procps-ng | < 3.3.15 | 3.3.15 |
| procps_project | procps | >= 0 < 2:3.3.15-1 | 2:3.3.15-1 |
| procps_project | procps | >= 0 < 2:3.3.15-1 | 2:3.3.15-1 |
| procps_project | procps | >= 0 < 2:3.3.15-1 | 2:3.3.15-1 |
| procps_project | procps | >= 0 < 2:3.3.15-1 | 2:3.3.15-1 |
| procps_project | procps | >= 0 < 1:3.3.9-1ubuntu2.3 | 1:3.3.9-1ubuntu2.3 |
| procps_project | procps | >= 0 < 2:3.3.10-4ubuntu2.4 | 2:3.3.10-4ubuntu2.4 |
| procps_project | procps | >= 0 < 2:3.3.12-3ubuntu1.1 | 2:3.3.12-3ubuntu1.1 |
CVSS provenance
nvdv3.07.0HIGHCVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.04.4MEDIUMAV:L/AC:M/Au:N/C:P/I:P/A:P
osv7.0HIGH
vendor_debian7.3HIGH
vendor_redhat7.3HIGH
vendor_ubuntu7.3HIGH
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Palo Alto
PAN
vendor_paloalto·2020-07-08·CVSS 9.8
CVE-2013-7459 [CRITICAL] PAN
PAN
The Palo Alto Networks Product Security Assurance team has evaluated and determined that these third-party or open source vulnerabilities do not have any security impact on PAN-OS or that the scenarios required for successful
CVEs: CVE-2013-7459, CVE-2018-1120, CVE-2018-1121, CVE-2018-1122, CVE-2018-1123, CVE-2018-1124, CVE-2018-16402, CVE-2020-11022, CVE-2020-11023, CVE-2020-11896, CVE-2020-11897, CVE-2020-11898, CVE-2020-11899, CVE-2020-11900, CVE-2020-11901, CVE-2020-11902, CVE-2020-11903, CVE-2020-11904, CVE-2020-11905, CVE-2020-11906, CVE-2020-11907, CVE-2020-11908, CVE-2020-11909, CVE-2020-11910, CVE-2020-11911, CVE-2020-11912, CVE-2020-11913, CVE-2020-11914
Affected products: PAN-OS
Ubuntu
procps-ng vulnerabilities
vendor_ubuntu·2018-08-16·CVSS 7.3
CVE-2018-1122 [HIGH] procps-ng vulnerabilities
Title: procps-ng vulnerabilities
Summary: Several security issues were fixed in procps-ng.
USN-3658-1 fixed a vulnerability in procps-ng. This update provides
the corresponding update for Ubuntu 12.04 ESM.
Original advisory details:
It was discovered that the procps-ng top utility incorrectly read its
configuration file from the current working directory. A local attacker
could possibly use this issue to escalate privileges. (CVE-2018-1122)
It was discovered that the procps-ng ps tool incorrectly handled memory. A
local user could possibly use this issue to cause a denial of service.
(CVE-2018-1123)
It was discovered that the procps-ng pgrep utility incorrectly handled
memory. A local attacker could possibly use this issue to cause de denial
of service. (CVE-2018-1125)
Instructions:
Ubuntu
procps-ng vulnerabilities
vendor_ubuntu·2018-05-23·CVSS 7.3
CVE-2018-1122 [HIGH] procps-ng vulnerabilities
Title: procps-ng vulnerabilities
Summary: Several security issues were fixed in procps-ng.
It was discovered that the procps-ng top utility incorrectly read its
configuration file from the current working directory. A local attacker
could possibly use this issue to escalate privileges. (CVE-2018-1122)
It was discovered that the procps-ng ps tool incorrectly handled memory. A
local user could possibly use this issue to cause a denial of service.
(CVE-2018-1123)
It was discovered that libprocps incorrectly handled the file2strvec()
function. A local attacker could possibly use this to execute arbitrary
code. (CVE-2018-1124)
It was discovered that the procps-ng pgrep utility incorrectly handled
memory. A local attacker could possibly use this issue to cause de denial
of service. (CVE-201
Red Hat
procps: Local privilege escalation in top
vendor_redhat·2018-05-17·CVSS 7.3
CVE-2018-1122 [HIGH] CWE-829 procps: Local privilege escalation in top
procps: Local privilege escalation in top
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.
If the HOME environment variable is unset or empty, top will read its configuration file from the current working directory without any security check. 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.
Package: procps (Red Hat Enterprise Linux 5) - Will not fix
Package: procps (Red Hat Enterprise Linux 6) - Will not fix
Pac
Debian
CVE-2018-1122: procps - procps-ng before version 3.3.15 is vulnerable to a local privilege escalation in...
vendor_debian·2018·CVSS 7.3
CVE-2018-1122 [HIGH] CVE-2018-1122: procps - procps-ng before version 3.3.15 is vulnerable to a local privilege escalation in...
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.
Scope: local
bookworm: resolved (fixed in 2:3.3.15-1)
bullseye: resolved (fixed in 2:3.3.15-1)
forky: resolved (fixed in 2:3.3.15-1)
sid: resolved (fixed in 2:3.3.15-1)
trixie: resolved (fixed in 2:3.3.15-1)
GHSA
GHSA-mphr-mvhq-p32f: procps-ng before version 3
ghsa_unreviewed·2022-05-13
CVE-2018-1122 [HIGH] GHSA-mphr-mvhq-p32f: procps-ng before version 3
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.
OSV
CVE-2018-1122: procps-ng before version 3
osv·2018-05-23·CVSS 7.0
CVE-2018-1122 [HIGH] CVE-2018-1122: procps-ng before version 3
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.
OSV
procps vulnerabilities
osv·2018-05-23·CVSS 7.0
CVE-2018-1122 [HIGH] procps vulnerabilities
procps vulnerabilities
It was discovered that the procps-ng top utility incorrectly read its
configuration file from the current working directory. A local attacker
could possibly use this issue to escalate privileges. (CVE-2018-1122)
It was discovered that the procps-ng ps tool incorrectly handled memory. A
local user could possibly use this issue to cause a denial of service.
(CVE-2018-1123)
It was discovered that libprocps incorrectly handled the file2strvec()
function. A local attacker could possibly use this to execute arbitrary
code. (CVE-2018-1124)
It was discovered that the procps-ng pgrep utility incorrectly handled
memory. A local attacker could possibly use this issue to cause de denial
of service. (CVE-2018-1125)
It was discovered that procps-ng incorrectly handled memory.
No detection rules found.
Bugzilla
CVE-2018-1122 procps-ng: procps-ng, procps: Local privilege escalation in top [fedora-28]
bugzilla·2018-05-18·CVSS 7.3
CVE-2018-1122 [HIGH] CVE-2018-1122 procps-ng: procps-ng, procps: Local privilege escalation in top [fedora-28]
CVE-2018-1122 procps-ng: procps-ng, procps: Local privilege escalation in top [fedora-28]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple suppor
Bugzilla
CVE-2018-1122 procps-ng, procps: Local privilege escalation in top
bugzilla·2018-05-07·CVSS 7.3
CVE-2018-1122 [HIGH] CVE-2018-1122 procps-ng, procps: Local privilege escalation in top
CVE-2018-1122 procps-ng, procps: Local privilege escalation in top
If the HOME environment variable is unset or empty, top will read its configuration file from the current working directory without any security check. If a user runs top with HOME unset in an attacker-controlled directory, the attacker could acieve privilege escalation by exploiting one of several vulnerabilities in the config_file() function.
Discussion:
Acknowledgments:
Name: Qualys Research Labs
---
Public via: http://seclists.org/oss-sec/2018/q2/122
---
External References:
https://www.qualys.com/2018/05/17/procps-ng-audit-report-advisory.txt
---
Created procps-ng tracking bugs for this issue:
Affects: fedora-all [bug 1579639]
---
CVSSv3 scoring has been reviewed. Changed the AC (Attack Complexity) metric
http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00058.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-10/msg00059.htmlhttp://seclists.org/oss-sec/2018/q2/122http://www.securityfocus.com/bid/104214https://access.redhat.com/errata/RHSA-2019:2189https://access.redhat.com/errata/RHSA-2020:0595https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1122https://lists.debian.org/debian-lts-announce/2018/05/msg00021.htmlhttps://security.gentoo.org/glsa/201805-14https://usn.ubuntu.com/3658-1/https://usn.ubuntu.com/3658-3/https://www.debian.org/security/2018/dsa-4208https://www.exploit-db.com/exploits/44806/https://www.qualys.com/2018/05/17/procps-ng-audit-report-advisory.txthttp://lists.opensuse.org/opensuse-security-announce/2019-10/msg00058.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-10/msg00059.htmlhttp://seclists.org/oss-sec/2018/q2/122http://www.securityfocus.com/bid/104214https://access.redhat.com/errata/RHSA-2019:2189https://access.redhat.com/errata/RHSA-2020:0595https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1122https://lists.debian.org/debian-lts-announce/2018/05/msg00021.htmlhttps://security.gentoo.org/glsa/201805-14https://usn.ubuntu.com/3658-1/https://usn.ubuntu.com/3658-3/https://www.debian.org/security/2018/dsa-4208https://www.exploit-db.com/exploits/44806/https://www.qualys.com/2018/05/17/procps-ng-audit-report-advisory.txt
2018-05-23
Published