7.8high

CVE-2005-4890

There is a possible tty hijacking in shadow 4.x before 4.1.5 and sudo 1.x before 1.7.4 via "su - user -c program". The user session can be…

Published 7 y ago · modified 4 mo ago · JSON

CVSS
7.8
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
0.6%
percentile 50%
Public exploits
0
none known

Summary

There is a possible tty hijacking in shadow 4.x before 4.1.5 and sudo 1.x before 1.7.4 via "su - user -c program". The user session can be escaped to the parent session by using the TIOCSTI ioctl to push characters into the input buffer to be read by the next process.

Exploit prediction (EPSS)

0.63% probability of exploitation in the next 30 days, higher than 50% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.17.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD2.07.2AV:L/AC:L/Au:N/C:C/I:C/A:C

Affected products

  • Red Hat shadow
  • Red Hat sudo

Classification

Weakness
  • CWE-20 Improper Input Validation

References

  • openwall.com /lists/oss-security/2014/12/15/5 · x_refsource_MISC, x_transferred
  • security-tracker.debian.org /tracker/CVE-2005-4890 · x_refsource_MISC, x_transferred
  • bugzilla.redhat.com /show_bug.cgi?id=CVE-2005-4890 · x_refsource_MISC, x_transferred
  • access.redhat.com /security/cve/cve-2005-4890 · x_refsource_MISC, x_transferred
  • openwall.com /lists/oss-security/2012/11/06/8 · x_refsource_MISC, x_transferred
  • openwall.com /lists/oss-security/2013/05/20/3 · x_refsource_MISC, x_transferred
  • openwall.com /lists/oss-security/2013/11/28/10 · x_refsource_MISC, x_transferred
  • openwall.com /lists/oss-security/2013/11/29/5 · x_refsource_MISC, x_transferred
  • openwall.com /lists/oss-security/2014/10/20/9 · x_refsource_MISC, x_transferred
  • openwall.com /lists/oss-security/2014/10/21/1 · x_refsource_MISC, x_transferred
  • openwall.com /lists/oss-security/2016/02/25/6 · x_refsource_MISC, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.