SecurityContext

CVE-2010-0832: pam_motd - Symlink Attack

  • Cve: CVE-2010-0832
  • Name: pam_motd - Symlink Attack
  • Description: pam_motd (aka the MOTD module) in libpam-modules before 1.1.0-2ubuntu1.1 in PAM on Ubuntu 9.10 and libpam-modules before 1.1.1-2ubuntu5 in PAM on Ubuntu 10.04 LTS allows local users to change the ownership of arbitrary files via a symlink attack on .cache in a user's home directory, related to "user file stamps" and the motd.legal-notice file.
  • Impact: Local attackers can change ownership of arbitrary files, potentially leading to privilege escalation or system compromise.
  • Remediation: Update libpam-modules to version 1.1.0-2ubuntu1.1 or later for Ubuntu 9.10, and 1.1.1-2ubuntu5 or later for Ubuntu 10.04 LTS.
  • Vulnerability type: symlink_attack
  • Vulnerability impact: file_system_write, privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.9
  • Cvss vector: CVSS:2.0/AV:L/AC:M/Au:N/C:C/I:C/A:C
  • Epss score: 0.00941
  • Epss percentile: 0.61871
  • Assignee: [email protected]
  • Published at: 2010-07-12T16:30:01Z
  • Age in days: 5979
  • Modified at: 2026-06-16T23:16:55Z
  • Patch available: yes
  • Public exploits total: 3
  • References total: 9
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2010-0832
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-59Improper Link Resolution Before File Access

Public exploits

UrlSourceAdded date
http://www.exploit-db.com/exploits/14273nvd2010-07-12
http://www.securityfocus.com/bid/41465nvd2010-07-12
https://github.com/R3fr4kt/Popcorn-TJNULL-OSCP-poc-in-github2026-06-05

References

Same in every row:

  • Source: nvd
UrlTags
http://www.securityfocus.com/bid/41465Exploit, Patch
http://secunia.com/advisories/40512Vendor Advisory
http://www.ubuntu.com/usn/USN-959-1Vendor Advisory
http://www.vupen.com/english/advisories/2010/1747Vendor Advisory
http://www.exploit-db.com/exploits/14273Exploit
http://twitter.com/jonoberheide/statuses/18009527979
http://www.h-online.com/security/news/item/Ubuntu-closes-root-hole-1034618.html
http://www.osvdb.org/66116
https://exchange.xforce.ibmcloud.com/vulnerabilities/60194

Products

ProductAffectedPlatform boundSourcesUrl
canonical:ubuntu_linux= 10.04, = 9.10nonvd/v1/products/canonical/ubuntu_linux

Index

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

Exploitation

  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 3
  • Public exploit first date: 2010-07-12
  • Exposed hosts: 21109361
  • Checked, none or zero: known exploited, known exploited by, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports