CVE-2013-1776
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2013-1776 NameCVE-2013-1776 Descriptionsudo 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β¦
CVE-2013-1776
| Name | CVE-2013-1776 |
| Description | 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DSA-2642-1 |
| Debian Bugs | 701839 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| sudo (PTS) | bullseye | 1.9.5p2-3+deb11u1 | fixed |
| bullseye (security) | 1.9.5p2-3+deb11u3 | fixed | |
| bookworm | 1.9.13p3-1+deb12u4 | fixed | |
| bookworm (security) | 1.9.13p3-1+deb12u2 | fixed | |
| trixie | 1.9.16p2-3+deb13u2 | fixed | |
| forky | 1.9.17p2-5 | fixed | |
| sid | 1.9.17p2-6 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| sudo | source | squeeze | 1.7.4p4-2.squeeze.4 | DSA-2642-1 | ||
| sudo | source | (unstable) | 1.8.5p2-1+nmu1 | 701839 |
OS impact
macOS Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| β | Affected | β |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 1.8.5p2-1+nmu1 |
| sid | Fixed | 1.8.5p2-1+nmu1 |
| forky | Fixed | 1.8.5p2-1+nmu1 |
| bullseye | Fixed | 1.8.5p2-1+nmu1 |
| bookworm | Fixed | 1.8.5p2-1+nmu1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| todd_miller | sudo | 1.8.0 | |
| todd_miller | sudo | 1.8.1 | |
| todd_miller | sudo | 1.8.1p1 | |
| todd_miller | sudo | 1.8.1p2 | |
| todd_miller | sudo | 1.8.2 | |
| todd_miller | sudo | 1.8.3 | |
| todd_miller | sudo | 1.8.3p1 | |
| todd_miller | sudo | 1.8.3p2 | |
| todd_miller | sudo | 1.8.4 | |
| todd_miller | sudo | 1.8.4p1 | |
| todd_miller | sudo | 1.8.4p2 | |
| todd_miller | sudo | 1.8.4p3 | |
| todd_miller | sudo | 1.8.4p4 | |
| todd_miller | sudo | 1.8.4p5 | |
| todd_miller | sudo | 1.8.5 | |
| 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 | |
| todd_miller | sudo | 1.6.3_p7 | |
| todd_miller | sudo | 1.6.4 | |
| todd_miller | sudo | 1.6.4p2 | |
| todd_miller | sudo | 1.6.5 | |
| todd_miller | sudo | 1.6.6 | |
| todd_miller | sudo | 1.6.7 | |
| todd_miller | sudo | 1.6.7p5 | |
| todd_miller | sudo | 1.6.8 | |
| todd_miller | sudo | 1.6.8p12 | |
| todd_miller | sudo | 1.6.9 | |
| todd_miller | sudo | 1.6.9p20 | |
| todd_miller | sudo | 1.6.9p21 | |
| todd_miller | sudo | 1.6.9p22 | |
| todd_miller | sudo | 1.6.9p23 | |
| todd_miller | sudo | 1.7.0 | |
| todd_miller | sudo | 1.7.1 | |
| todd_miller | sudo | 1.7.2 | |
| todd_miller | sudo | 1.7.2p1 | |
| todd_miller | sudo | 1.7.2p2 | |
| todd_miller | sudo | 1.7.2p3 | |
| todd_miller | sudo | 1.7.2p4 | |
| todd_miller | sudo | 1.7.2p5 | |
| todd_miller | sudo | 1.7.2p6 | |
| todd_miller | sudo | 1.7.2p7 | |
| todd_miller | sudo | 1.7.3b1 | |
| todd_miller | sudo | 1.7.4 | |
| todd_miller | sudo | 1.7.4p1 | |
| todd_miller | sudo | 1.7.4p2 | |
| todd_miller | sudo | 1.7.4p3 | |
| todd_miller | sudo | 1.7.4p4 | |
| todd_miller | sudo | 1.7.4p5 | |
| todd_miller | sudo | 1.7.4p6 | |
| todd_miller | sudo | 1.7.5 | |
| todd_miller | sudo | 1.7.6 | |
| todd_miller | sudo | 1.7.6p1 | |
| todd_miller | sudo | 1.7.6p2 | |
| todd_miller | sudo | 1.7.7 | |
| todd_miller | sudo | 1.7.8 | |
| todd_miller | sudo | 1.7.8p1 | |
| todd_miller | sudo | 1.7.8p2 | |
| todd_miller | sudo | 1.7.9 | |
| todd_miller | sudo | 1.7.9p1 | |
| todd_miller | sudo | 1.7.10 | |
References
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=701839
- http://lists.apple.com/archives/security-announce/2015/Aug/msg00001.html
- http://lists.opensuse.org/opensuse-updates/2013-03/msg00066.html
- http://rhn.redhat.com/errata/RHSA-2013-1353.html
- http://www.debian.org/security/2013/dsa-2642
- http://www.openwall.com/lists/oss-security/2013/02/27/31
- http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html
- 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/632f8e028191
- http://www.sudo.ws/repos/sudo/rev/6b22be4d09f0
- 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
- https://security-tracker.debian.org/tracker/CVE-2013-1776
CWEs
CWE-264
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.