CVE-2018-1122
Published: 17 May 2018
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.
Notes
| Author | Note |
|---|---|
| mdeslaur | [PATCH 097/117] top: Do not default to the cwd in configs_read(). |
| leosilva | for precise/esm code request a POC test, and a huge backport. |
Priority
Status
| Package | Release | Status |
|---|---|---|
|
procps Launchpad, Ubuntu, Debian |
artful |
Released
(2:3.3.12-1ubuntu2.1)
|
| bionic |
Released
(2:3.3.12-3ubuntu1.1)
|
|
| trusty |
Released
(1:3.3.9-1ubuntu2.3)
|
|
| upstream |
Released
(3.3.15)
|
|
| xenial |
Released
(2:3.3.10-4ubuntu2.4)
|
|
|
Patches: upstream: https://gitlab.com/procps-ng/procps/commit/b45c4803dd176f4e3f9d3d47421ddec9bbbe66cd |
||
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score | 7.0 |
| Attack vector | Local |
| Attack complexity | High |
| Privileges required | Low |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity impact | High |
| Availability impact | High |
| Vector | CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |