CVE-2014-9680
Low · 3.3CVSS
3.3
EPSS
0.5%
Published
Apr 24, 2017
CISA due date
—
Cloudanix analysis
A local user on an older system could trick a privileged tool into opening files it should not touch, potentially disrupting logs or device operations.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Application
- Class
- Information Disclosure
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The flaw permits a local user to supply a crafted TZ environment variable that is not backed by a zoneinfo file; when a program is invoked under sudo the variable causes the privileged process to open arbitrary files for read access without disclosing their contents, enabling interference with terminal I/O, kernel log discarding, or tape-drive repositioning.
Why it matters to the business
Attackers with local access can disrupt privileged operations, tamper with audit trails, or interfere with device handling on systems that still run vulnerable sudo versions, increasing operational risk and potential compliance exposure until the package is updated.
How an attack unfolds
An attacker with a local shell sets a malicious TZ value, executes a command through sudo, and leverages the resulting file-open side effects to manipulate terminal output, suppress logs, or reposition tape devices; no remote access or elevated privileges beyond the initial local account are required.
How to fix it
Upgrade the sudo package to version 1.8.12 or later on all affected systems; after the upgrade, verify that TZ is validated against zoneinfo before any privileged execution occurs.
How to confirm the fix worked
Run 'sudo --version' and confirm the installed release is at least 1.8.12; attempt to reproduce the original TZ manipulation in a test environment and verify that arbitrary file opens are rejected.
Typical attack path
- Obtain a local shell on the target host
- Export a TZ environment variable pointing outside the zoneinfo directory
- Invoke a program via sudo that triggers the vulnerable code path
- Observe or cause side effects such as altered terminal behavior, discarded logs, or tape-drive movement
How to detect it
Review sudo logs for sessions that include non-standard TZ values; inspect command histories and environment dumps for TZ entries that do not resolve to valid zoneinfo files; correlate any resulting terminal or log anomalies with sudo activity.
- TZ= followed by a path outside /usr/share/zoneinfo in sudo command lines or environment logs
- sudo process spawning with unexpected file-open attempts on non-zoneinfo paths
What your security team should do
- Prioritize patching sudo to 1.8.12+ on any remaining legacy systems
- Audit sudoers policies to ensure only necessary commands are permitted
- Enable sudo logging of environment variables for future anomaly detection
- Remove or restrict legacy hosts still running pre-1.8.12 sudo from production networks
The record
sudo before 1.8.12 does not ensure that the TZ environment variable is associated with a zoneinfo file, which allows local users to open arbitrary files for read access (but not view file contents) by running a program within an sudo session, as demonstrated by interfering with terminal output, discarding kernel-log messages, or repositioning tape drives.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | sudo | 0 | 1.8.12-1 |
| Debian:12 | sudo | 0 | 1.8.12-1 |
| Debian:13 | sudo | 0 | 1.8.12-1 |
| Debian:6.0 | sudo | 0 | 1.7.4p4-2.squeeze.5 |
| Debian:7 | sudo | 0 | 1.8.5p2-1+nmu2 |
| Mageia:4 | sudo | 0 | 1.8.12-1.mga4 |
| Red Hat:enterprise_linux:6::client | sudo | 0 | 0:1.8.6p3-19.el6 |
| Red Hat:enterprise_linux:6::client | sudo-debuginfo | 0 | 0:1.8.6p3-19.el6 |
| Red Hat:enterprise_linux:6::client | sudo-devel | 0 | 0:1.8.6p3-19.el6 |
| Red Hat:enterprise_linux:6::computenode | sudo | 0 | 0:1.8.6p3-19.el6 |
| Red Hat:enterprise_linux:6::computenode | sudo-debuginfo | 0 | 0:1.8.6p3-19.el6 |
| Red Hat:enterprise_linux:6::computenode | sudo-devel | 0 | 0:1.8.6p3-19.el6 |
| Red Hat:enterprise_linux:6::server | sudo | 0 | 0:1.8.6p3-19.el6 |
| Red Hat:enterprise_linux:6::server | sudo-debuginfo | 0 | 0:1.8.6p3-19.el6 |
| Red Hat:enterprise_linux:6::server | sudo-devel | 0 | 0:1.8.6p3-19.el6 |
| Red Hat:enterprise_linux:6::workstation | sudo | 0 | 0:1.8.6p3-19.el6 |
| Red Hat:enterprise_linux:6::workstation | sudo-debuginfo | 0 | 0:1.8.6p3-19.el6 |
| Red Hat:enterprise_linux:6::workstation | sudo-devel | 0 | 0:1.8.6p3-19.el6 |
| Red Hat:enterprise_linux:7::client | sudo | 0 | 0:1.8.6p7-16.el7 |
| Red Hat:enterprise_linux:7::client | sudo-debuginfo | 0 | 0:1.8.6p7-16.el7 |
| Red Hat:enterprise_linux:7::client | sudo-devel | 0 | 0:1.8.6p7-16.el7 |
| Red Hat:enterprise_linux:7::computenode | sudo | 0 | 0:1.8.6p7-16.el7 |
| Red Hat:enterprise_linux:7::computenode | sudo-debuginfo | 0 | 0:1.8.6p7-16.el7 |
| Red Hat:enterprise_linux:7::computenode | sudo-devel | 0 | 0:1.8.6p7-16.el7 |
| Red Hat:enterprise_linux:7::server | sudo | 0 | 0:1.8.6p7-16.el7 |
| Red Hat:enterprise_linux:7::server | sudo-debuginfo | 0 | 0:1.8.6p7-16.el7 |
| Red Hat:enterprise_linux:7::server | sudo-devel | 0 | 0:1.8.6p7-16.el7 |
| Red Hat:enterprise_linux:7::workstation | sudo | 0 | 0:1.8.6p7-16.el7 |
| Red Hat:enterprise_linux:7::workstation | sudo-debuginfo | 0 | 0:1.8.6p7-16.el7 |
| Red Hat:enterprise_linux:7::workstation | sudo-devel | 0 | 0:1.8.6p7-16.el7 |
| SUSE:Linux Enterprise Desktop 12 SP1 | sudo | 0 | 1.8.10p3-2.6.1 |
| SUSE:Linux Enterprise Server 12 SP1 | sudo | 0 | 1.8.10p3-2.6.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | sudo | 0 | 1.8.10p3-2.6.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP1 | sudo | 0 | 1.8.10p3-2.6.1 |
| Ubuntu:14.04:LTS | sudo | 0 | 1.8.9p5-1ubuntu1.1 |
| 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-2016-7032 sudo_noexec.so in Sudo before 1.8.15 on Linux might allow local users to bypass intended… 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-114657 Grav from 2.0.0 before 2.2.5 contains an information disclosure vulnerability that allows… CWE-200
- CVE-2026-114574 A security vulnerability has been detected in massCodeIO massCode 5.10. CWE-200
- CVE-2026-111756 follow-redirects is a Node.js HTTP and HTTPS client wrapper that automatically follows… CWE-200