Cloudanix VulnDB

CVE-2014-9680

Low · 3.3

CVSS

3.3

EPSS

0.5%

Published

Apr 24, 2017

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

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.

Exploit Available
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

  1. Obtain a local shell on the target host
  2. Export a TZ environment variable pointing outside the zoneinfo directory
  3. Invoke a program via sudo that triggers the vulnerable code path
  4. 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