V
Scaner-VS
HomeCatalogSourcesCWECAPECATT&CKMitigationsDocs
CVE-2018-18955
AST
HighConfirmedExploit available

In the Linux kernel 4.15.x through 4.19.x before 4.19.2, map_write() in kernel/user_namespace.c allows privilege escalation because it mish…

CVSS
7.8
High
EPSS
0.10
p92
Published
2018-01-01
Updated
2018-01-01
Description

In the Linux kernel 4.15.x through 4.19.x before 4.19.2, map_write() in kernel/user_namespace.c allows privilege escalation because it mishandles nested user namespaces with more than 5 UID or GID ranges. A user who has CAP_SYS_ADMIN in an affected user namespace can bypass access controls on resources outside the namespace, as demonstrated by reading /etc/shadow. This occurs because an ID transformation takes place properly for the namespaced-to-kernel direction but not for the kernel-to-namespaced direction.

Tags · CWE
CWE-285
CWE-863
CAPEC-1
CAPEC-5
CAPEC-13
CAPEC-17
CAPEC-39
CAPEC-45
CAPEC-51
CAPEC-59
CAPEC-60
CAPEC-76
CAPEC-77
CAPEC-87
CAPEC-104
CAPEC-127
CAPEC-402
CAPEC-647
CAPEC-668
Affected products
LinuxLinuxLinuxLinuxLinuxLinuxLinuxLinuxLinux-awsLinux-awsLinux-awsLinux-awsLinux-aws-hweLinux-azureLinux-azureLinux-azureLinux-azureLinux-azure-edgeLinux-azure-edgeLinux-euclid
CVSS vector
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Timeline
2018-01-01
Published
2018-01-01
Updated
CVSS 3.1 breakdown
Attack Vector
AV: L
Local (L)
Attack Complexity
AC: H
High (H)
Privileges Required
PR: L
Low (L)
User Interaction
UI: N
None (N)
Scope
S: C
Changed (C)
Confidentiality Impact
C: H
High (H)
Integrity Impact
I: H
High (H)
Availability Impact
A: H
High (H)
Exploit indicators
EPSS
0.096 · p92
Known exploited (KEV)
No
MITRE ATT&CK
Inferred via CAPEC
└ via CAPEC-647 · CWE-285
└ via CAPEC-647 · CWE-285
└ via CAPEC-127 · CWE-285
└ via CAPEC-60 · CWE-285
└ via CAPEC-60 · CWE-285
└ via CAPEC-647 · CWE-285
└ via CAPEC-668 · CWE-285
└ via CAPEC-13 · CWE-285
Known exploits — Сканер-ВС
45886
exploitdb · https://www.exploit-db.com/exploits/45886
Enterprise
45915
exploitdb · https://www.exploit-db.com/exploits/45915
Enterprise
47164
exploitdb · https://www.exploit-db.com/exploits/47164
Enterprise
47165
exploitdb · https://www.exploit-db.com/exploits/47165
Enterprise
47166
exploitdb · https://www.exploit-db.com/exploits/47166
Enterprise
47167
exploitdb · https://www.exploit-db.com/exploits/47167
Enterprise
CVE-2018-18955
github-poc · https://github.com/scheatkode/CVE-2018-18955
Enterprise
Affected software
ProductVendorStatus
linuxTracked
linuxTracked
linuxTracked
linuxTracked
linuxTracked
linuxTracked
linuxTracked
linuxTracked
linux-awsTracked
linux-awsTracked
linux-awsTracked
linux-awsTracked
linux-aws-hweTracked
linux-azureTracked
linux-azureTracked
linux-azureTracked
linux-azureTracked
linux-azure-edgeTracked
linux-azure-edgeTracked
linux-euclidTracked
Source databases
AST
DEB
CVE
UBU
Related vulnerabilities