CVE-2008-5394
CVE-2008-5394 is a high-severity vulnerability in Debian Shadow with a CVSS 2.0 base score of 7.2. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-59.
Key facts
- Severity: High (CVSS 2.0 base score 7.2)
- EPSS exploit prediction: 1% (57th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-59
- Affected product: Debian Shadow
- Published:
- Last modified:
Description
/bin/login in shadow 4.0.18.1 in Debian GNU/Linux, and probably other Linux distributions, allows local users in the utmp group to overwrite arbitrary files via a symlink attack on a temporary file referenced in a line (aka ut_line) field in a utmp entry.
Frequently asked questions
- What is CVE-2008-5394?
- /bin/login in shadow 4.0.18.1 in Debian GNU/Linux, and probably other Linux distributions, allows local users in the utmp group to overwrite arbitrary files via a symlink attack on a temporary file referenced in a line (aka ut_line) field in a utmp entry.
- How severe is CVE-2008-5394?
- CVE-2008-5394 has a CVSS 2.0 base score of 7.2, rated high severity.
- Is CVE-2008-5394 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (57th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2008-5394?
- CVE-2008-5394 affects Debian Shadow. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2008-5394?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2008-5394 published?
- CVE-2008-5394 was published on 2008-12-09 and last updated on 2026-06-16.
References
- http://bugs.debian.org/332198
- http://bugs.debian.org/505071
- http://bugs.debian.org/505271
- http://osvdb.org/52200
- http://security.gentoo.org/glsa/glsa-200903-24.xml
- http://securityreason.com/securityalert/4695
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:062
- http://www.securityfocus.com/archive/1/498769/100/0/threaded
- http://www.securityfocus.com/bid/32552
- http://www.ubuntu.com/usn/usn-695-1
- https://exchange.xforce.ibmcloud.com/vulnerabilities/47037
- https://www.exploit-db.com/exploits/7313
Affected products (1)
- cpe:2.3:a:debian:shadow:4.0.18.1:*:*:*:*:*:*:*
More vulnerabilities in Debian Shadow
- CVE-2017-20002 — High (CVSS 7.8): The Debian shadow package before 1:4.5-1 for Shadow incorrectly lists pts/0 and pts/1 as physical terminals in…
- CVE-2005-4890 — High (CVSS 7.8): 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…
- CVE-2011-0721 — Medium (CVSS 6.4): Multiple CRLF injection vulnerabilities in (1) chfn and (2) chsh in shadow 1:4.1.4 allow local users to add new users…
- CVE-2013-4235 — Medium (CVSS 4.7): shadow: TOCTOU (time-of-check time-of-use) race condition when copying and removing directory trees
- CVE-2004-1001 — Medium (CVSS 4.6): Unknown vulnerability in the passwd_check function in Shadow 4.0.4.1, and possibly other versions before 4.0.5, allows…
- CVE-2006-1174 — Low (CVSS 3.7): useradd in shadow-utils before 4.0.3, and possibly other versions before 4.0.8, does not provide a required argument to…
All CVEs affecting Debian Shadow →
Other CWE-59 (Improper Link Resolution Before File Access (Link Following)) vulnerabilities
- CVE-2024-37143 — Critical (CVSS 10.0): Dell PowerFlex appliance versions prior to IC 46.381.00 and IC 46.376.00, Dell PowerFlex rack versions prior to RCM…
- CVE-2024-28189 — Critical (CVSS 10.0): Judge0 is an open-source online code execution system. The application uses the UNIX chown command on an untrusted file…
- CVE-2024-28185 — Critical (CVSS 10.0): Judge0 is an open-source online code execution system. The application does not account for symlinks placed inside the…
- CVE-2022-22995 — Critical (CVSS 10.0): The combination of primitives offered by SMB and AFP in their default configuration allows the arbitrary writing of…
- CVE-2014-4480 — Critical (CVSS 10.0): Directory traversal vulnerability in afc in AppleFileConduit in Apple iOS before 8.1.3 and Apple TV before 7.0.3 allows…
- CVE-2002-2374 — Critical (CVSS 10.0): Unspecified vulnerability in pprosetup in Sun PatchPro 2.0 has unknown impact and attack vectors related to "unsafe use…
Browse all CWE-59 (Improper Link Resolution Before File Access (Link Following)) vulnerabilities →