4.4
MEDIUM
CVE-2013-2777
Sudo Terminal Hijacking Vulnerability
Description

sudo before 1.7.10p5 and 1.8.x before 1.8.6p6, 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 a session without a controlling terminal device and 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.

INFO

Published Date :

April 8, 2013, 5:55 p.m.

Last Modified :

Nov. 21, 2024, 1:52 a.m.

Remotely Exploitable :

No

Impact Score :

6.4

Exploitability Score :

3.4
Affected Products

The following products are affected by CVE-2013-2777 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Apple mac_os_x
1 Todd_miller sudo
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2013-2777.

URL Resource
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=701839
http://lists.apple.com/archives/security-announce/2015/Aug/msg00001.html
http://rhn.redhat.com/errata/RHSA-2013-1701.html
http://www.debian.org/security/2013/dsa-2642
http://www.openwall.com/lists/oss-security/2013/02/27/31
http://www.securityfocus.com/bid/58207
http://www.slackware.com/security/viewer.php?l=slackware-security&y=2013&m=slackware-security.517440
http://www.sudo.ws/repos/sudo/rev/2f3225a2a4a4 Vendor Advisory
http://www.sudo.ws/repos/sudo/rev/bfa23f089bba Vendor Advisory
http://www.sudo.ws/sudo/alerts/tty_tickets.html Vendor Advisory
https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/87023
https://bugzilla.redhat.com/show_bug.cgi?id=916365
https://exchange.xforce.ibmcloud.com/vulnerabilities/82453
https://support.apple.com/kb/HT205031 Vendor Advisory
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=701839
http://lists.apple.com/archives/security-announce/2015/Aug/msg00001.html
http://rhn.redhat.com/errata/RHSA-2013-1701.html
http://www.debian.org/security/2013/dsa-2642
http://www.openwall.com/lists/oss-security/2013/02/27/31
http://www.securityfocus.com/bid/58207
http://www.slackware.com/security/viewer.php?l=slackware-security&y=2013&m=slackware-security.517440
http://www.sudo.ws/repos/sudo/rev/2f3225a2a4a4 Vendor Advisory
http://www.sudo.ws/repos/sudo/rev/bfa23f089bba Vendor Advisory
http://www.sudo.ws/sudo/alerts/tty_tickets.html Vendor Advisory
https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/87023
https://bugzilla.redhat.com/show_bug.cgi?id=916365
https://exchange.xforce.ibmcloud.com/vulnerabilities/82453
https://support.apple.com/kb/HT205031 Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2013-2777 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2013-2777 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=701839
    Added Reference http://lists.apple.com/archives/security-announce/2015/Aug/msg00001.html
    Added Reference http://rhn.redhat.com/errata/RHSA-2013-1701.html
    Added Reference http://www.debian.org/security/2013/dsa-2642
    Added Reference http://www.openwall.com/lists/oss-security/2013/02/27/31
    Added Reference http://www.securityfocus.com/bid/58207
    Added Reference http://www.slackware.com/security/viewer.php?l=slackware-security&y=2013&m=slackware-security.517440
    Added Reference http://www.sudo.ws/repos/sudo/rev/2f3225a2a4a4
    Added Reference http://www.sudo.ws/repos/sudo/rev/bfa23f089bba
    Added Reference http://www.sudo.ws/sudo/alerts/tty_tickets.html
    Added Reference https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/87023
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=916365
    Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/82453
    Added Reference https://support.apple.com/kb/HT205031
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Aug. 29, 2017

    Action Type Old Value New Value
    Removed Reference http://xforce.iss.net/xforce/xfdb/82453 [No Types Assigned]
    Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/82453 [No Types Assigned]
  • Modified Analysis by [email protected]

    Mar. 30, 2016

    Action Type Old Value New Value
    Changed CPE Configuration Configuration 1 OR *cpe:2.3:a:todd_miller:sudo:1.7.10:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.9p1:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.9:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.8p2:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.8p1:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.8:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.7:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.6p2:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.6p1:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.6:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.5:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.4p5:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.4p2:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.4p3:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.4:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.4p1:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.4p4:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.4p6:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.3b1:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.2p6:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.2p5:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.2p4:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.2p2:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.2p3:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.2:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.2p1:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.2p7:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.1:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.0:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.6.9p23:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.6.5:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.6.4p2:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.6.9p20:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.6.9p21:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.6.4:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.6.8:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.6.6:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.6.7:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.6.9p22:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.6.2p3:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.6.7p5:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.6.8p12:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.6.3_p7:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.6.9:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.6:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.6.1:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.6.2:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.6.3:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.3.5:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.10p1:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.10p2:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.10p3:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.10p4:*:*:*:*:*:*:* (and previous) Configuration 2 OR *cpe:2.3:a:todd_miller:sudo:1.8.0:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.1:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.1p1:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.1p2:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.2:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.3:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.3p1:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.3p2:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.4:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.4p1:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.4p2:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.4p3:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.4p4:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.4p5:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.5:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.6:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.6p1:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.6p2:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.6p3:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.6p4:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.6p5:*:*:*:*:*:*:* Configuration 1 OR *cpe:2.3:o:apple:mac_os_x:10.10.4:*:*:*:*:*:*:* (and previous) Configuration 2 OR *cpe:2.3:a:todd_miller:sudo:1.7.10:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.9p1:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.9:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.8p2:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.8p1:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.8:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.7:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.6p2:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.6p1:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.6:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.5:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.4p5:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.4p2:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.4p3:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.4:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.4p1:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.4p4:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.4p6:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.3b1:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.2p6:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.2p5:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.2p4:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.2p2:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.2p3:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.2:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.2p1:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.2p7:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.1:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.0:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.6.9p23:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.6.5:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.6.4p2:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.6.9p20:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.6.9p21:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.6.4:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.6.8:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.6.6:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.6.7:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.6.9p22:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.6.2p3:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.6.7p5:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.6.8p12:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.6.3_p7:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.6.9:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.6:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.6.1:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.6.2:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.6.3:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.3.5:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.10p1:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.10p2:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.10p3:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.7.10p4:*:*:*:*:*:*:* (and previous) Configuration 3 OR *cpe:2.3:a:todd_miller:sudo:1.8.0:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.1:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.1p1:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.1p2:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.2:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.3:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.3p1:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.3p2:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.4:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.4p1:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.4p2:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.4p3:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.4p4:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.4p5:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.5:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.6:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.6p1:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.6p2:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.6p3:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.6p4:*:*:*:*:*:*:* *cpe:2.3:a:todd_miller:sudo:1.8.6p5:*:*:*:*:*:*:*
    Changed Reference Type https://support.apple.com/kb/HT205031 No Types Assigned https://support.apple.com/kb/HT205031 Advisory
  • CVE Modified by [email protected]

    Aug. 18, 2015

    Action Type Old Value New Value
    Added Reference http://lists.apple.com/archives/security-announce/2015/Aug/msg00001.html
    Added Reference https://support.apple.com/kb/HT205031
  • Initial Analysis by [email protected]

    Apr. 09, 2013

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2013-2777 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2013-2777 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.04 }} 0.00%

score

0.08236

percentile

CVSS2 - Vulnerability Scoring System
Access Vector
Access Complexity
Authentication
Confidentiality
Integrity
Availability