CVE-2013-2777
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. Limited direct impact.
- Exploit odds
- 0.4% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.4% in the next 30 days (EPSS).
- Severity: 4.4 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.4% · EPSS, next 30 days
- Weakness
- CWE-264
- Record status
- Modified
Affected
- Apple Mac Os X ≤ 10.10.4
- Todd Miller Sudo ≤ 1.7.10p4
- Todd Miller Sudo 1.3.5
- Todd Miller Sudo 1.6
- Todd Miller Sudo 1.6.1
- Todd Miller Sudo 1.6.2
- Todd Miller Sudo 1.6.2p3
- Todd Miller Sudo 1.6.3
Attack profile CVSS 2.0 · 4.4
- Attack vector
- Local
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:L/AC:M/Au:N/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2013-2777.md and follow it. Check whether this project is affected by CVE-2013-2777. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://www.sudo.ws/repos/sudo/rev/2f3225a2a4a4
- http://www.sudo.ws/repos/sudo/rev/bfa23f089bba
- http://www.sudo.ws/sudo/alerts/tty_tickets.html
- https://support.apple.com/kb/HT205031
- http://www.sudo.ws/repos/sudo/rev/2f3225a2a4a4
- http://www.sudo.ws/repos/sudo/rev/bfa23f089bba
- http://www.sudo.ws/sudo/alerts/tty_tickets.html
- https://support.apple.com/kb/HT205031
References
- 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
- http://www.sudo.ws/repos/sudo/rev/bfa23f089bba
- http://www.sudo.ws/sudo/alerts/tty_tickets.html
- 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
- 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
- http://www.sudo.ws/repos/sudo/rev/bfa23f089bba
- http://www.sudo.ws/sudo/alerts/tty_tickets.html
- https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/87023