ID CVE-2014-9680
Summary 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.
References
Vulnerable Configurations
  • cpe:2.3:a:sudo_project:sudo:1.7.10:p2:*:*:*:*:*:*
    cpe:2.3:a:sudo_project:sudo:1.7.10:p2:*:*:*:*:*:*
  • cpe:2.3:a:sudo_project:sudo:1.8.1:p2:*:*:*:*:*:*
    cpe:2.3:a:sudo_project:sudo:1.8.1:p2:*:*:*:*:*:*
  • cpe:2.3:a:sudo_project:sudo:1.8.3:p2:*:*:*:*:*:*
    cpe:2.3:a:sudo_project:sudo:1.8.3:p2:*:*:*:*:*:*
  • cpe:2.3:a:sudo_project:sudo:1.8.4:p2:*:*:*:*:*:*
    cpe:2.3:a:sudo_project:sudo:1.8.4:p2:*:*:*:*:*:*
  • cpe:2.3:a:sudo_project:sudo:1.8.5:p2:*:*:*:*:*:*
    cpe:2.3:a:sudo_project:sudo:1.8.5:p2:*:*:*:*:*:*
  • cpe:2.3:a:sudo_project:sudo:1.8.6:p2:*:*:*:*:*:*
    cpe:2.3:a:sudo_project:sudo:1.8.6:p2:*:*:*:*:*:*
  • cpe:2.3:a:sudo_project:sudo:1.8.9:p2:*:*:*:*:*:*
    cpe:2.3:a:sudo_project:sudo:1.8.9:p2:*:*:*:*:*:*
  • cpe:2.3:a:sudo_project:sudo:1.8.10:p2:*:*:*:*:*:*
    cpe:2.3:a:sudo_project:sudo:1.8.10:p2:*:*:*:*:*:*
  • cpe:2.3:a:sudo_project:sudo:1.8.11:p2:*:*:*:*:*:*
    cpe:2.3:a:sudo_project:sudo:1.8.11:p2:*:*:*:*:*:*
CVSS
Base: 2.1 (as of 05-01-2018 - 02:29)
Impact:
Exploitability:
CWE CWE-200
CAPEC
  • Subverting Environment Variable Values
    The attacker directly or indirectly modifies environment variables used by or controlling the target software. The attacker's goal is to cause the target software to deviate from its expected operation in a manner that benefits the attacker.
  • Footprinting
    An attacker engages in probing and exploration activity to identify constituents and properties of the target. Footprinting is a general term to describe a variety of information gathering techniques, often used by attackers in preparation for some attack. It consists of using tools to learn as much as possible about the composition, configuration, and security mechanisms of the targeted application, system or network. Information that might be collected during a footprinting effort could include open ports, applications and their versions, network topology, and similar information. While footprinting is not intended to be damaging (although certain activities, such as network scans, can sometimes cause disruptions to vulnerable applications inadvertently) it may often pave the way for more damaging attacks.
  • Exploiting Trust in Client (aka Make the Client Invisible)
    An attack of this type exploits a programs' vulnerabilities in client/server communication channel authentication and data integrity. It leverages the implicit trust a server places in the client, or more importantly, that which the server believes is the client. An attacker executes this type of attack by placing themselves in the communication channel between client and server such that communication directly to the server is possible where the server believes it is communicating only with a valid client. There are numerous variations of this type of attack.
  • Browser Fingerprinting
    An attacker carefully crafts small snippets of Java Script to efficiently detect the type of browser the potential victim is using. Many web-based attacks need prior knowledge of the web browser including the version of browser to ensure successful exploitation of a vulnerability. Having this knowledge allows an attacker to target the victim with attacks that specifically exploit known or zero day weaknesses in the type and version of the browser used by the victim. Automating this process via Java Script as a part of the same delivery system used to exploit the browser is considered more efficient as the attacker can supply a browser fingerprinting method and integrate it with exploit code, all contained in Java Script and in response to the same web page request by the browser.
  • Session Credential Falsification through Prediction
    This attack targets predictable session ID in order to gain privileges. The attacker can predict the session ID used during a transaction to perform spoofing and session hijacking.
  • Reusing Session IDs (aka Session Replay)
    This attack targets the reuse of valid session ID to spoof the target system in order to gain privileges. The attacker tries to reuse a stolen session ID used previously during a transaction to perform spoofing and session hijacking. Another name for this type of attack is Session Replay.
  • Using Slashes in Alternate Encoding
    This attack targets the encoding of the Slash characters. An attacker would try to exploit common filtering problems related to the use of the slashes characters to gain access to resources on the target host. Directory-driven systems, such as file systems and databases, typically use the slash character to indicate traversal between directories or other container components. For murky historical reasons, PCs (and, as a result, Microsoft OSs) choose to use a backslash, whereas the UNIX world typically makes use of the forward slash. The schizophrenic result is that many MS-based systems are required to understand both forms of the slash. This gives the attacker many opportunities to discover and abuse a number of common filtering problems. The goal of this pattern is to discover server software that only applies filters to one version, but not the other.
Access
VectorComplexityAuthentication
LOCAL LOW NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL NONE NONE
cvss-vector via4 AV:L/AC:L/Au:N/C:P/I:N/A:N
redhat via4
advisories
  • bugzilla
    id 1215400
    title default /etc/sudoers file error
    oval
    AND
    • OR
      • comment Red Hat Enterprise Linux 7 Client is installed
        oval oval:com.redhat.rhba:tst:20150364001
      • comment Red Hat Enterprise Linux 7 Server is installed
        oval oval:com.redhat.rhba:tst:20150364002
      • comment Red Hat Enterprise Linux 7 Workstation is installed
        oval oval:com.redhat.rhba:tst:20150364003
      • comment Red Hat Enterprise Linux 7 ComputeNode is installed
        oval oval:com.redhat.rhba:tst:20150364004
    • OR
      • AND
        • comment sudo is earlier than 0:1.8.6p7-16.el7
          oval oval:com.redhat.rhba:tst:20152424007
        • comment sudo is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhba:tst:20130363006
      • AND
        • comment sudo-devel is earlier than 0:1.8.6p7-16.el7
          oval oval:com.redhat.rhba:tst:20152424005
        • comment sudo-devel is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhba:tst:20130363008
    rhsa
    released 2015-11-19
    severity None
    title RHBA-2015:2424: sudo bug fix and enhancement update (None)
  • bugzilla
    id 1191144
    title CVE-2014-9680 sudo: unsafe handling of TZ environment variable
    oval
    AND
    • OR
      • comment Red Hat Enterprise Linux 6 Client is installed
        oval oval:com.redhat.rhba:tst:20111656001
      • comment Red Hat Enterprise Linux 6 Server is installed
        oval oval:com.redhat.rhba:tst:20111656002
      • comment Red Hat Enterprise Linux 6 Workstation is installed
        oval oval:com.redhat.rhba:tst:20111656003
      • comment Red Hat Enterprise Linux 6 ComputeNode is installed
        oval oval:com.redhat.rhba:tst:20111656004
    • OR
      • AND
        • comment sudo is earlier than 0:1.8.6p3-19.el6
          oval oval:com.redhat.rhsa:tst:20151409007
        • comment sudo is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhba:tst:20130363006
      • AND
        • comment sudo-devel is earlier than 0:1.8.6p3-19.el6
          oval oval:com.redhat.rhsa:tst:20151409005
        • comment sudo-devel is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhba:tst:20130363008
    rhsa
    id RHSA-2015:1409
    released 2015-07-22
    severity Moderate
    title RHSA-2015:1409: sudo security, bug fix, and enhancement update (Moderate)
rpms
  • sudo-0:1.8.6p7-16.el7
  • sudo-devel-0:1.8.6p7-16.el7
  • sudo-0:1.8.6p3-19.el6
  • sudo-devel-0:1.8.6p3-19.el6
refmap via4
confirm http://www.sudo.ws/alerts/tz.html
gentoo GLSA-201504-02
mlist [oss-security] 20141016 Abusing TZ for fun (and little profit)
sectrack 1033158
Last major update 05-01-2018 - 02:29
Published 24-04-2017 - 06:59
Back to Top