CVE-2011-3628: Canonical Libpam-Modules
Medium severity, CVSS 6.9. EPSS: 0.4% chance of exploitation in the next 30 days.
Untrusted search path vulnerability in pam_motd (aka the MOTD module) in libpam-modules before 1.1.3-2ubuntu2.1 on Ubuntu 11.10, before 1.1.2-2ubuntu8.4 on Ubuntu 11.04, before 1.1.1-4ubuntu2.4 on Ubuntu 10.10, before 1.1.1-2ubuntu5.4 on Ubuntu 10.04 LTS, and before 0.99.7.1-5ubuntu6.5 on Ubuntu 8.04 LTS, when using certain configurations such as "session optional pam_motd.so", allows local users to gain privileges by modifying the PATH environment variable to reference a malicious command, as demonstrated via uname.
Affected products
- Canonical Libpam-Modules: version 0.9.7 only; version 1.1.1 only; version 1.1.2 only; version 1.1.3 only
- Canonical Ubuntu Linux: version 8.04 only; version 10.04 only; version 10.10 only; version 11.04 only; version 11.10 only
Published 2014-04-15. Last modified 2026-06-16.