CVE-2013-1858

2013-04-05T00:00:00
ID UB:CVE-2013-1858
Type ubuntucve
Reporter ubuntu.com
Modified 2013-04-05T00:00:00

Description

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.

Bugs

  • <https://launchpad.net/bugs/1156778>

Notes

Author| Note
---|---
mdeslaur | reproducer: http://stealth.openwall.net/xSports/clown-newuser.c
jdstrand | this became privilege esclation when 5eaf563e53294d6696e651466697eb9d491f3946 removed the checks for CAP_SYS_ADMIN, CAP_SETUID and CAP_SETGID