Vulnerability in Linux Kernel
CVE-2013-1858
The clone system-call implementation in the Linux kernel before 3.8.3 does not properly handle a combination of the CLONE_NEWUSER and CLONE_FS flags, which allows local users to gain privileges by calling chroot and leveraging the sharing of the / directory between a parent process and a child process.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 7.2 (High). Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.017, 77.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux Kernel — versions 3.0, 3.0.1, 3.0.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 41 other repositories (0xTo/linux-kernel-exploits, Al1ex/LinuxEelvation, albinjoshy03/linux-kernel-exploits, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/
- [oss-security] 20130314 Re: CLONE_NEWUSER|CLONE_FS root exploit (mailing-list)
- www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.8.3
- stealth.openwall.net/xSports/clown-newuser.c (Exploit)
- github.com/torvalds/linux/commit/e66eded8309ebf679d3d3c1f5820d1f2ca332c71
- bugzilla.redhat.com/show_bug.cgi