Vigil@nce - Linux kernel: privilege escalation via ptrace and User Namespace
March 2016 by Vigil@nce
This bulletin was written by Vigil@nce : https://vigilance.fr/offer
SYNTHESIS OF THE VULNERABILITY
A local attacker can use ptrace() on a User Namespace created by
the Linux kernel, in order to escalate his privileges.
Impacted products: Debian, Fedora, Linux, Ubuntu.
Severity: 2/4.
Creation date: 04/01/2016.
DESCRIPTION OF THE VULNERABILITY
The User Namespace (CONFIG_USER_NS) feature provides jailed
environments.
However, a local attacker can create a Namespace, and ptrace a
root process entering in this Namespace.
A local attacker can therefore use ptrace() on a User Namespace
created by the Linux kernel, in order to escalate his privileges.
ACCESS TO THE COMPLETE VIGIL@NCE BULLETIN