CVE-2005-4890

HIGH

Shadow <4.1.5, Sudo <1.7.4 - Privilege Escalation

Title source: llm
STIX 2.1

Description

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.

References (11)

Core 11
Core References
Mailing List, Third Party Advisory x_refsource_misc
http://www.openwall.com/lists/oss-security/2014/12/15/5
Third Party Advisory x_refsource_misc
https://security-tracker.debian.org/tracker/CVE-2005-4890
Issue Tracking, Third Party Advisory x_refsource_misc
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2005-4890
Third Party Advisory x_refsource_misc
https://access.redhat.com/security/cve/cve-2005-4890
Mailing List, Third Party Advisory x_refsource_misc
http://www.openwall.com/lists/oss-security/2012/11/06/8
Mailing List, Third Party Advisory x_refsource_misc
http://www.openwall.com/lists/oss-security/2013/05/20/3
Mailing List, Third Party Advisory x_refsource_misc
http://www.openwall.com/lists/oss-security/2013/11/28/10
Mailing List, Third Party Advisory x_refsource_misc
http://www.openwall.com/lists/oss-security/2013/11/29/5
Mailing List, Third Party Advisory x_refsource_misc
http://www.openwall.com/lists/oss-security/2014/10/20/9
Mailing List, Third Party Advisory x_refsource_misc
http://www.openwall.com/lists/oss-security/2014/10/21/1
Exploit, Mailing List, Third Party Advisory x_refsource_misc
http://www.openwall.com/lists/oss-security/2016/02/25/6

Scores

CVSS v3 7.8
EPSS 0.0063
EPSS Percentile 46.2%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-20
Status published
Products (8)
debian/debian_linux 8.0
debian/debian_linux 9.0
debian/debian_linux 10.0
debian/shadow 4.0.0 - 4.1.5
redhat/enterprise_linux 4
redhat/enterprise_linux 5
redhat/enterprise_linux 6.0
sudo_project/sudo 1.3.0 - 1.7.4
Published Nov 04, 2019
Tracked Since Feb 18, 2026