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
| Id | Name |
|---|---|
| CWE-59 | Improper Link Resolution Before File Access |
Public exploits
| Url | Source | Added date |
|---|---|---|
| http://www.exploit-db.com/exploits/14273 | nvd | 2010-07-12 |
| http://www.securityfocus.com/bid/41465 | nvd | 2010-07-12 |
| https://github.com/R3fr4kt/Popcorn-TJNULL-OSCP- | poc-in-github | 2026-06-05 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| canonical:ubuntu_linux | = 10.04, = 9.10 | no | nvd | /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