CVE-2019-15793 Mishandling of file-system uid/gid with namespaces in shiftfs
A local attacker can bypass discretionary access control permissions in Ubuntu kernels due to incorrect user/group ID translation in shiftfs.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-15793?
CVE-2019-15793 is a medium-severity authentication bypass vulnerability in Canonical Ubuntu Linux, published on 23 Apr 2020. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In shiftfs, a non-upstream patch to the Linux kernel included in the Ubuntu 5.0 and 5.3 kernel series, several locations which shift ids translate user/group ids before performing operations in the lower filesystem were translating them into init_user_ns, whereas they should have been translated into the s_user_ns for the lower filesystem. This resulted in using ids other than the intended ones in the lower fs, which likely did not map into the shifts s_user_ns. A local attacker could use this to possibly bypass discretionary access control permissions.
Which versions are affected by CVE-2019-15793?
It affects 2 products.
Products include Canonical Ubuntu Linux, Linux kernel.
How do I fix CVE-2019-15793?
Apply the vendor's patch.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2019-15793 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-15793 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as GHSA-h5g7-x752-wjh8, UBUNTU-CVE-2019-15793.