Todd Miller sudo up to 1.8.0 Fall Back Behavior ttyname access control
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.6 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Type
Vendor
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.4VulDB Meta Temp Score: 7.6
VulDB Base Score: 8.4
VulDB Temp Score: 7.6
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Access controlCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Exploit Delay Time: 🔍
Upgrade: sudo 1.8.6p7
Timeline
02/11/2013 🔍02/11/2013 🔍
02/11/2013 🔍
02/19/2013 🔍
02/27/2013 🔍
02/27/2013 🔍
02/28/2013 🔍
03/04/2013 🔍
04/08/2013 🔍
08/18/2015 🔍
05/05/2021 🔍
Sources
Advisory: sudo.wsResearcher: 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: 🔍
Entry
Created: 02/28/2013 15:24Updated: 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
No comments yet. Languages: en.
Please log in to comment.