Vigil@nce - Docker: privilege escalation via Numeric UID
July 2016 by Vigil@nce
This bulletin was written by Vigil@nce : https://vigilance.fr/offer
SYNTHESIS OF THE VULNERABILITY
A local attacker can in some cases use an uid on Docker, in order
to escalate his privileges.
Impacted products: Docker Engine, Fedora, openSUSE, RHEL.
Severity: 2/4.
Creation date: 13/05/2016.
DESCRIPTION OF THE VULNERABILITY
The Docker product can be installed on a system with a numeric
user id. For example, if /etc/passwd contains :
1000::0:0:::/bin/bash
user::1000:1000:::/bin/bash
However, permission checks are performed on user with the uid
1000, but the access is granted with user named "1000".
A local attacker can therefore in some cases use an uid on Docker,
in order to escalate his privileges.
ACCESS TO THE COMPLETE VIGIL@NCE BULLETIN
https://vigilance.fr/vulnerability/Docker-privilege-escalation-via-Numeric-UID-19615