Todd Miller sudo up to 1.8.0 Fall Back Behavior ttyname access control

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.6$0-$5k0.00

Summaryinfo

A vulnerability marked as critical has been reported in Todd Miller sudo up to 1.8.0. Impacted is the function ttyname of the component Fall Back Behavior. This manipulation causes access control. This vulnerability is tracked as CVE-2013-1776. The attack is restricted to local execution. Moreover, an exploit is present. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability was found in Todd Miller sudo up to 1.8.0 (Operating System Utility Software). It has been declared as critical. Affected by this vulnerability is the function ttyname of the component Fall Back Behavior. The manipulation with an unknown input leads to a access control vulnerability. The CWE definition for the vulnerability is CWE-264. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

sudo 1.3.5 through 1.7.10 and 1.8.0 through 1.8.5, when the tty_tickets option is enabled, does not properly validate the controlling terminal device, which allows local users with sudo permissions to hijack the authorization of another terminal via vectors related to connecting to the standard input, output, and error file descriptors of another terminal. NOTE: this is one of three closely-related vulnerabilities that were originally assigned CVE-2013-1776, but they have been SPLIT because of different affected versions.

The weakness was disclosed 02/11/2013 by Ryan Castellucci and James Ogden as confirmed advisory (Website). The advisory is shared at sudo.ws. The public release has been coordinated in cooperation with Todd Miller. This vulnerability is known as CVE-2013-1776 since 02/19/2013. An attack has to be approached locally. The exploitation doesn't need any form of authentication. Technical details and also a public exploit are known. MITRE ATT&CK project uses the attack technique T1068 for this issue.

After immediately, there has been an exploit disclosed. It is possible to download the exploit at seclists.org. It is declared as proof-of-concept. We expect the 0-day to have been worth approximately $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 64988 (FreeBSD : sudo -- Potential bypass of tty_tickets constraints (82cfd919-8213-11e2-9273-902b343deec9)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 123806 (Apple Mac OS X v10.10.5 and Security Update 2015-006 Not Installed (APPLE-SA-2015-08-13-2)).

Upgrading to version 1.8.6p7 eliminates this vulnerability. A possible mitigation has been published immediately after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (82453), Tenable (64988), SecurityFocus (BID 58207†), OSVDB (90661†) and Vulnerability Center (SBV-52160†). The entries VDB-11563, VDB-12088, VDB-12510 and VDB-57803 are pretty similar. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Productinfo

Type

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 8.4
VulDB Meta Temp Score: 7.6

VulDB Base Score: 8.4
VulDB Temp Score: 7.6
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Access control
CWE: CWE-264
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: No

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 64988
Nessus Name: FreeBSD : sudo -- Potential bypass of tty_tickets constraints (82cfd919-8213-11e2-9273-902b343deec9)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 892642
OpenVAS Name: Debian Security Advisory DSA 2642-1 (sudo - several issues
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Exploit Delay Time: 🔍

Upgrade: sudo 1.8.6p7

Timelineinfo

02/11/2013 🔍
02/11/2013 +0 days 🔍
02/11/2013 +0 days 🔍
02/19/2013 +8 days 🔍
02/27/2013 +8 days 🔍
02/27/2013 +0 days 🔍
02/28/2013 +1 days 🔍
03/04/2013 +4 days 🔍
04/08/2013 +35 days 🔍
08/18/2015 +862 days 🔍
05/05/2021 +2087 days 🔍

Sourcesinfo

Advisory: sudo.ws
Researcher: Ryan Castellucci, James Ogden
Status: Confirmed
Confirmation: 🔍
Coordinated: 🔍

CVE: CVE-2013-1776 (🔍)
GCVE (CVE): GCVE-0-2013-1776
GCVE (VulDB): GCVE-100-7837

OVAL: 🔍

X-Force: 82453 - Todd Miller sudo tty_tickets security bypass, Medium Risk
SecurityFocus: 58207 - Todd Miller Sudo CVE-2013-1776 Local Security Bypass Vulnerability
OSVDB: 90661 - sudo Cross-terminal Manipulation tty_tickets Constraint Bypass
Vulnerability Center: 52160 - Sudo 1.7.4 - 1.7.10p5, 1.8.0 - 1.8.6p6 Local Security Bypass Vulnerability, Low

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 02/28/2013 15:24
Updated: 05/05/2021 15:32
Changes: 02/28/2013 15:24 (54), 06/16/2017 09:02 (30), 05/05/2021 15:26 (7), 05/05/2021 15:32 (1)
Complete: 🔍
Committer:
Cache ID: 216:822:103

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!