CVE-2018-6552
Ubuntu Apport Privilege Escalation
Description
Apport does not properly handle crashes originating from a PID namespace allowing local users to create certain files as root which an attacker could leverage to perform a denial of service via resource exhaustion, possibly gain root privileges, or escape from containers. The is_same_ns() function returns True when /proc/<global pid>/ does not exist in order to indicate that the crash should be handled in the global namespace rather than inside of a container. However, the portion of the data/apport code that decides whether or not to forward a crash to a container does not always replace sys.argv[1] with the value stored in the host_pid variable when /proc/<global pid>/ does not exist which results in the container pid being used in the global namespace. This flaw affects versions 2.20.8-0ubuntu4 through 2.20.9-0ubuntu7, 2.20.7-0ubuntu3.7, 2.20.7-0ubuntu3.8, 2.20.1-0ubuntu2.15 through 2.20.1-0ubuntu2.17, and 2.14.1-0ubuntu3.28.
INFO
Published Date :
May 31, 2018, 10:29 p.m.
Last Modified :
Oct. 3, 2019, 12:03 a.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.8
Public PoC/Exploit Available at Github
CVE-2018-6552 has a 4 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2018-6552
.
URL | Resource |
---|---|
https://usn.ubuntu.com/3664-2/ | Vendor Advisory |
https://usn.ubuntu.com/usn/usn-3664-1 | Vendor Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
None
None
awesome resources about cloud native security 🐿
cloud-native container-security cloud-native-security kubernetes-security container-escape k8s kubernetes container docker docker-security serverless serverless-security cloud-security cloud-computing
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2018-6552
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2018-6552
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CWE Remap by [email protected]
Oct. 03, 2019
Action Type Old Value New Value Changed CWE CWE-399 CWE-399 NVD-CWE-noinfo -
Initial Analysis by [email protected]
Jul. 27, 2018
Action Type Old Value New Value Added CVSS V2 (AV:L/AC:L/Au:N/C:C/I:C/A:C) Added CVSS V3 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://usn.ubuntu.com/3664-2/ No Types Assigned https://usn.ubuntu.com/3664-2/ Vendor Advisory Changed Reference Type https://usn.ubuntu.com/usn/usn-3664-1 No Types Assigned https://usn.ubuntu.com/usn/usn-3664-1 Vendor Advisory Added CWE CWE-399 Added CPE Configuration AND OR *cpe:2.3:a:apport_project:apport:2.14.1:*:*:*:*:*:*:* OR cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* Added CPE Configuration AND OR *cpe:2.3:a:apport_project:apport:2.20.9:*:*:*:*:*:*:* OR cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* Added CPE Configuration AND OR *cpe:2.3:a:apport_project:apport:2.20.7:*:*:*:*:*:*:* OR cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:* Added CPE Configuration AND OR *cpe:2.3:a:apport_project:apport:2.20.1:*:*:*:*:*:*:* OR cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* -
CVE Modified by [email protected]
Jun. 09, 2018
Action Type Old Value New Value Changed Description Apport does not properly handle crashes originating from a PID namespace allowing local users to create certain files as root which an attacker could leverage to perform a denial of service via resource exhaustion, possibly gain root privileges, or escape from containers. The is_same_ns() function returns True when /proc/<global pid>/ does not exist in order to indicate that the crash should be handled in the global namespace rather than inside of a container. However, the portion of the data/apport code that decides whether or not to forward a crash to a container does not always replace sys.argv[1] with the value stored in the host_pid variable when /proc/<global pid>/ does not exist which results in the container pid being used in the global namespace. This flaw affects versions 2.20.8-0ubuntu4 through 2.20.9-0ubuntu7, 2.20.7-0ubuntu3.7, 2.20.7-0ubuntu3.8, and 2.20.1-0ubuntu2.15 through 2.20.1-0ubuntu2.17. Apport does not properly handle crashes originating from a PID namespace allowing local users to create certain files as root which an attacker could leverage to perform a denial of service via resource exhaustion, possibly gain root privileges, or escape from containers. The is_same_ns() function returns True when /proc/<global pid>/ does not exist in order to indicate that the crash should be handled in the global namespace rather than inside of a container. However, the portion of the data/apport code that decides whether or not to forward a crash to a container does not always replace sys.argv[1] with the value stored in the host_pid variable when /proc/<global pid>/ does not exist which results in the container pid being used in the global namespace. This flaw affects versions 2.20.8-0ubuntu4 through 2.20.9-0ubuntu7, 2.20.7-0ubuntu3.7, 2.20.7-0ubuntu3.8, 2.20.1-0ubuntu2.15 through 2.20.1-0ubuntu2.17, and 2.14.1-0ubuntu3.28. -
CVE Modified by [email protected]
Jun. 06, 2018
Action Type Old Value New Value Added Reference https://usn.ubuntu.com/3664-2/ [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2018-6552
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2018-6552
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.04 }} 0.00%
score
0.05635
percentile