SecurityContext

CVE-2009-5080: GNU troff - Symlink Attack

  • Cve: CVE-2009-5080
  • Name: GNU troff - Symlink Attack
  • Description: The (1) contrib/eqn2graph/eqn2graph.sh, (2) contrib/grap2graph/grap2graph.sh, and (3) contrib/pic2graph/pic2graph.sh scripts in GNU troff (aka groff) 1.21 and earlier do not properly handle certain failed attempts to create temporary directories, which might allow local users to overwrite arbitrary files via a symlink attack on a file in a temporary directory, a different vulnerability than CVE-2004-1296.
  • Impact: Local users can overwrite arbitrary files, potentially leading to privilege escalation or data tampering.
  • Remediation: Update to the latest version of groff where this issue is fixed or apply relevant patches.
  • Vulnerability type: symlink_attack
  • Vulnerability impact: file_system_write, data_tampering
  • Requirement type: logged_in
  • Requirements: Attacker needs local user privileges
  • Labels source: projectdiscovery
  • Severity: low
  • Cvss score: 3.3
  • Cvss vector: CVSS:2.0/AV:L/AC:M/Au:N/C:N/I:P/A:P
  • Epss score: 0.00357
  • Epss percentile: 0.30003
  • Assignee: [email protected]
  • Published at: 2011-06-30T15:55:01Z
  • Age in days: 5626
  • Modified at: 2026-06-16T23:14:57Z
  • Patch available: yes
  • References total: 6
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2009-5080
  • Nvd status: modified
  • Checked, none or zero: 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
UrlTags
http://cvsweb.openwall.com/cgi/cvsweb.cgi/Owl/packages/groff/groff-1.20.1-owl-tmp.diffPatch
http://openwall.com/lists/oss-security/2009/08/14/4Patch
http://openwall.com/lists/oss-security/2009/08/14/5Patch
http://cvsweb.openwall.com/cgi/cvsweb.cgi/Owl/packages/groff/groff-1.20.1-owl-tmp.diff.diff?r1=1.1%3Br2=1.2%3Bf=h
http://www.mandriva.com/security/advisories?name=MDVSA-2013:085
http://www.mandriva.com/security/advisories?name=MDVSA-2013:086

Products

ProductAffectedPlatform boundSourcesUrl
gnu:groff<= 1.21, = 1.20.1, = 1.20, = 1.19.2, = 1.19.1, = 1.19, = 1.18.1, = 1.17.2, = 1.17.1, = 1.16.1, = 1.16, = 1.15, = 1.14, = 1.11, = 1.11a, = 1.10nonvd/v1/products/gnu/groff

Index

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

Exploitation

  • Checked, none or zero: known exploited, known exploited by, exploitation seen, 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