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.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 2
- Linux PAM 1.1.0 (Ubuntu 9.10/10.04) - MOTD File Tampering Privilege Escalation (2) EDB-14339 · local · Jul 12, 2010 · verified
- Linux PAM 1.1.0 (Ubuntu 9.10/10.04) - MOTD File Tampering Privilege Escalation (1) EDB-14273 · local · Jul 8, 2010 · verified
GitHub 1 repository
-
R3fr4kt/Popcorn-TJNULL-OSCP- ★ 0 · Jun 5, 2026
Popcorn HTB write-up covering advanced directory fuzzing, file upload bypass via magic numbers/extension spoofing using Burp Suite, and privilege escalation via CVE-2010-0832 (PAM MOTD File Tampering…
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- pammotd-motdlegalnotice-priv-escalation(60194) vdb-entry
- USN-959-1 vendor-advisory
- 41465 vdb-entry
- 14273 exploit
- http://www.h-online.com/security/news/item/Ubuntu-closes-root-hole-1034618.html
- http://twitter.com/jonoberheide/statuses/18009527979
- 40512 third-party-advisory
- 66116 vdb-entry
- ADV-2010-1747 vdb-entry