CVE-2016-7076 Security feature bypass in sudo
Local attackers can bypass sudo noexec restrictions to execute arbitrary commands with elevated privileges via wordexp() in specific applications.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2016-7076?
CVE-2016-7076 is a medium-severity vulnerability in [UNKNOWN] sudo, published on 29 May 2018. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
sudo before version 1.8.18p1 is vulnerable to a bypass in the sudo noexec restriction if application run via sudo executed wordexp() C library function with a user supplied argument. A local user permitted to run such application via sudo with noexec restriction could possibly use this flaw to execute arbitrary commands with elevated privileges.
Which versions are affected by CVE-2016-7076?
It affects 1 product.
Products include Sudo Project Sudo.
How do I fix CVE-2016-7076?
Upgrade to a fixed version.
Is CVE-2016-7076 being exploited?
There is no known exploitation of CVE-2016-7076 in the wild and no public exploit code.
Other vulnerabilities in [UNKNOWN] sudo
Sources
Also known as DEBIAN-CVE-2016-7076, GHSA-v56m-9vh5-5qh5, MGASA-2016-0389, UBUNTU-CVE-2016-7076.