CVE-2016-7032
High · 7.0CVSS
7.0
EPSS
0.3%
Published
Apr 14, 2017
CISA due date
—
Cloudanix analysis
An old flaw in the sudo tool on Linux lets some local users run commands that administrators tried to block.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- High
- Impact
- Privilege Gain
- Component
- Application
- Class
- Authorization Bypass
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
sudo_noexec.so allows local processes invoking system() or popen() to execute commands despite noexec restrictions enforced by sudo.
Why it matters to the business
Local users on affected Linux systems can circumvent command execution controls, enabling unauthorized actions that may lead to privilege escalation or data exposure on widely deployed sudo installations.
How an attack unfolds
A local attacker compiles or deploys an application that calls system() or popen() to invoke a restricted binary, bypassing the noexec wrapper enforced by sudo before version 1.8.15.
How to fix it
Upgrade sudo to version 1.8.15 or later on all Linux systems; where immediate upgrade is not possible, review and tighten sudoers rules that rely on noexec.
How to confirm the fix worked
Run 'sudo -V' to confirm version 1.8.15 or newer; test affected sudoers entries with a wrapper application calling system() or popen() to verify the restriction is enforced.
Typical attack path
- Obtain local shell access on a Linux host running vulnerable sudo
- Identify a sudoers rule that applies noexec to a command
- Create or obtain an application using system() or popen() to invoke the restricted command
- Execute the application under the sudo policy to bypass the restriction
How to detect it
Review sudo logs and process execution records for invocations of system() or popen() wrappers around commands that should have been blocked by noexec; correlate with unexpected child processes spawned from sudo sessions.
What your security team should do
- Prioritize upgrade of sudo packages to 1.8.15+ across the environment
- Audit sudoers configurations that depend on noexec and remove unnecessary entries
- Monitor for local privilege-escalation attempts involving sudo wrappers
The record
sudo_noexec.so in Sudo before 1.8.15 on Linux might allow local users to bypass intended noexec command restrictions via an application that calls the (1) system or (2) popen function.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | sudo | 0 | 1.8.15-1 |
| Debian:12 | sudo | 0 | 1.8.15-1 |
| Debian:13 | sudo | 0 | 1.8.15-1 |
| Debian:7 | sudo | 0 | 1.8.5p2-1+nmu3+deb7u2 |
| Red Hat:enterprise_linux:6::client | sudo | 0 | 0:1.8.6p3-25.el6_8 |
| Red Hat:enterprise_linux:6::client | sudo-debuginfo | 0 | 0:1.8.6p3-25.el6_8 |
| Red Hat:enterprise_linux:6::client | sudo-devel | 0 | 0:1.8.6p3-25.el6_8 |
| Red Hat:enterprise_linux:6::computenode | sudo | 0 | 0:1.8.6p3-25.el6_8 |
| Red Hat:enterprise_linux:6::computenode | sudo-debuginfo | 0 | 0:1.8.6p3-25.el6_8 |
| Red Hat:enterprise_linux:6::computenode | sudo-devel | 0 | 0:1.8.6p3-25.el6_8 |
| Red Hat:enterprise_linux:6::server | sudo | 0 | 0:1.8.6p3-25.el6_8 |
| Red Hat:enterprise_linux:6::server | sudo-debuginfo | 0 | 0:1.8.6p3-25.el6_8 |
| Red Hat:enterprise_linux:6::server | sudo-devel | 0 | 0:1.8.6p3-25.el6_8 |
| Red Hat:enterprise_linux:6::workstation | sudo | 0 | 0:1.8.6p3-25.el6_8 |
| Red Hat:enterprise_linux:6::workstation | sudo-debuginfo | 0 | 0:1.8.6p3-25.el6_8 |
| Red Hat:enterprise_linux:6::workstation | sudo-devel | 0 | 0:1.8.6p3-25.el6_8 |
| Red Hat:enterprise_linux:7::client | sudo | 0 | 0:1.8.6p7-21.el7_3 |
| Red Hat:enterprise_linux:7::client | sudo-debuginfo | 0 | 0:1.8.6p7-21.el7_3 |
| Red Hat:enterprise_linux:7::client | sudo-devel | 0 | 0:1.8.6p7-21.el7_3 |
| Red Hat:enterprise_linux:7::computenode | sudo | 0 | 0:1.8.6p7-21.el7_3 |
| Red Hat:enterprise_linux:7::computenode | sudo-debuginfo | 0 | 0:1.8.6p7-21.el7_3 |
| Red Hat:enterprise_linux:7::computenode | sudo-devel | 0 | 0:1.8.6p7-21.el7_3 |
| Red Hat:enterprise_linux:7::server | sudo | 0 | 0:1.8.6p7-21.el7_3 |
| Red Hat:enterprise_linux:7::server | sudo-debuginfo | 0 | 0:1.8.6p7-21.el7_3 |
| Red Hat:enterprise_linux:7::server | sudo-devel | 0 | 0:1.8.6p7-21.el7_3 |
| Red Hat:enterprise_linux:7::workstation | sudo | 0 | 0:1.8.6p7-21.el7_3 |
| Red Hat:enterprise_linux:7::workstation | sudo-debuginfo | 0 | 0:1.8.6p7-21.el7_3 |
| Red Hat:enterprise_linux:7::workstation | sudo-devel | 0 | 0:1.8.6p7-21.el7_3 |
| SUSE:Linux Enterprise Desktop 12 SP1 | sudo | 0 | 1.8.10p3-2.6.1 |
| SUSE:Linux Enterprise Desktop 12 SP2 | sudo | 0 | 1.8.10p3-8.1 |
| SUSE:Linux Enterprise Server 11 SP4 | sudo | 0 | 1.7.6p2-0.29.1 |
| SUSE:Linux Enterprise Server 12 SP1 | sudo | 0 | 1.8.10p3-2.6.1 |
| SUSE:Linux Enterprise Server 12 SP2 | sudo | 0 | 1.8.10p3-8.1 |
| SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | sudo | 0 | 1.8.10p3-8.1 |
| SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | sudo | 0 | 1.7.6p2-0.29.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | sudo | 0 | 1.8.10p3-2.6.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | sudo | 0 | 1.8.10p3-8.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP1 | sudo | 0 | 1.8.10p3-2.6.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP2 | sudo | 0 | 1.8.10p3-8.1 |
| Ubuntu:14.04:LTS | sudo | 0 | 1.8.9p5-1ubuntu1.5+esm5 |
| Ubuntu:16.04:LTS | sudo | 0 | 1.8.16-0ubuntu1.2 |
| Ubuntu:Pro:14.04:LTS | sudo | 0 | 1.8.9p5-1ubuntu1.5+esm5 |
| openSUSE:Tumbleweed | sudo | 0 | 1.9.7p2-1.4 |
Related vulnerabilities
- CVE-2017-1000368 Todd Miller's sudo version 1.8.20p1 and earlier is vulnerable to an input validation… Also affects sudo
- CVE-2017-1000367 Todd Miller's sudo version 1.8.20 and earlier is vulnerable to an input validation… Also affects sudo
- CVE-2014-9680 sudo before 1.8.12 does not ensure that the TZ environment variable is associated with a… Also affects sudo
- CVE-2025-32463 Sudo before 1.9.17p1 allows local users to obtain root access because /etc/nsswitch.conf… Also affects sudo
- CVE-2026-35535 In Sudo through 1.9.17p2 before 3e474c2, a failure of a setuid, setgid, or setgroups… Also affects sudo
- CVE-2026-114574 A security vulnerability has been detected in massCodeIO massCode 5.10. CWE-284
- CVE-2026-83395 Vulnerability in the Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise… CWE-284
- CVE-2026-112091 A flaw has been found in Dav-ee dairy-management-system… CWE-284