Vulnerability Details : 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.
Products affected by CVE-2008-5394
- cpe:2.3:a:debian:shadow:4.0.18.1:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2008-5394
0.04%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 8 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2008-5394
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.2
|
HIGH | AV:L/AC:L/Au:N/C:C/I:C/A:C |
3.9
|
10.0
|
NIST |
CWE ids for CVE-2008-5394
-
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.Assigned by: nvd@nist.gov (Primary)
Vendor statements for CVE-2008-5394
-
Red Hat 2008-12-18Not vulnerable. This issue did not affect the versions of the util-linux packages (providing /bin/login), as shipped with Red Hat Enterprise Linux 2.1, 3, 4 or 5.
References for CVE-2008-5394
-
http://security.gentoo.org/glsa/glsa-200903-24.xml
Shadow: Privilege escalation (GLSA 200903-24) — Gentoo security
-
http://bugs.debian.org/505071
#505071 - login tty mis-determination (see bug#332198) - Debian Bug report logs
-
http://www.securityfocus.com/archive/1/498769/100/0/threaded
-
http://securityreason.com/securityalert/4695
/bin/login gives root to group utmp - CXSecurity.com
-
https://www.exploit-db.com/exploits/7313
Debian - Symlink In Login Arbitrary File Ownership - Linux local Exploit
-
http://bugs.debian.org/505271
#505271 - symlink attack in login leading to arbitrary file ownership - Debian Bug report logs
-
http://bugs.debian.org/332198
#332198 - login: unable to determine TTY name, got /dev/pts/1 - Debian Bug report logs
-
http://www.securityfocus.com/bid/32552
-
https://exchange.xforce.ibmcloud.com/vulnerabilities/47037
Debian login symlink CVE-2008-5394 Vulnerability Report
-
http://www.ubuntu.com/usn/usn-695-1
USN-695-1: shadow vulnerability | Ubuntu security notices | Ubuntu
-
http://www.mandriva.com/security/advisories?name=MDVSA-2009:062
Mandriva
Jump to