CVE-2011-3628: Ubuntu - Untrusted Search Path
- Cve: CVE-2011-3628
- Name: Ubuntu - Untrusted Search Path
- Description: 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.
- Impact: Local users can escalate privileges by executing malicious commands via manipulated PATH environment variable.
- Remediation: Update to the fixed versions: 1.1.3-2ubuntu2.1 or later for Ubuntu 11.10, 1.1.2-2ubuntu8.4 or later for Ubuntu 11.04, 1.1.1-4ubuntu2.4 or later for Ubuntu 10.10, 1.1.1-2ubuntu5.4 or later for Ubuntu 10.04 LTS, and 0.99.7.1-5ubuntu6.5 or later for Ubuntu 8.04 LTS.
- Vulnerability type: misconfiguration
- Vulnerability impact: 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.00383
- Epss percentile: 0.33054
- Assignee: [email protected]
- Published at: 2014-04-15T23:55:07Z
- Age in days: 4606
- Modified at: 2026-06-16T23:33:39Z
- References total: 2
- Products total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2011-3628
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| NVD-CWE-Other | — |
References
| Url | Source | Tags |
|---|---|---|
| http://www.ubuntu.com/usn/USN-1237-1 | nvd | Vendor Advisory |
| https://bugs.launchpad.net/ubuntu/%2Bsource/pam/%2Bbug/610125 | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| canonical:libpam-modules | = 1.1.3, = 1.1.2, = 1.1.1, = 0.9.7 | no | nvd | /v1/products/canonical/libpam-modules |
| canonical:ubuntu_linux | = 11.10, = 11.04, = 10.10, = 10.04, = 8.04 | no | nvd | /v1/products/canonical/ubuntu_linux |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Exposed hosts: 21109361
- 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