SecurityContext

CVE-2008-5394: Shadow /bin/login - Symlink Attack

  • Cve: CVE-2008-5394
  • Name: Shadow /bin/login - Symlink Attack
  • 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.
  • Impact: Local users in utmp group can overwrite arbitrary files, potentially leading to privilege escalation or system compromise.
  • Remediation: Update to the latest version of shadow or apply security patches addressing this vulnerability.
  • Vulnerability type: symlink_attack
  • Vulnerability impact: file_system_write, privilege_escalation
  • Requirement type: logged_in
  • Requirements: Attacker needs to be in the utmp group
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.2
  • Cvss vector: CVSS:2.0/AV:L/AC:L/Au:N/C:C/I:C/A:C
  • Epss score: 0.00949
  • Epss percentile: 0.62107
  • Assignee: [email protected]
  • Published at: 2008-12-09T00:30:00Z
  • Age in days: 6559
  • Modified at: 2026-06-16T22:59:53Z
  • References total: 12
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2008-5394
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-59Improper Link Resolution Before File Access

References

Same in every row:

  • Source: nvd
  • Tags:
Url
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

Products

ProductAffectedPlatform boundSourcesUrl
debian:shadow= 4.0.18.1nonvd/v1/products/debian/shadow

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exploitation seen: yes
  • Checked, none or zero: known exploited, known exploited by, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts