---
title: "CVE-2011-3628\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2011-3628?format=md
keywords: index, follow
---

# CVE-2011-3628

Publication date 24 October 2011

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## 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.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2011-3628?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| pam | 11.10 oneiric | Fixed 1.1.3-2ubuntu2.1 |
| 11.04 natty | Fixed 1.1.2-2ubuntu8.4 |
| 10.10 maverick | Fixed 1.1.1-4ubuntu2.4 |
| 10.04 LTS lucid | Fixed 1.1.1-2ubuntu5.4 |
| 8.04 LTS hardy | Not affected |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Notes

---

### [mdeslaur](https://launchpad.net/~mdeslaur)

code not present in hardy

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-3628)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2011-3628)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2011-3628)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2011-3628)

### Related Ubuntu Security Notices (USN)

+ [USN-1237-1](https://usn.ubuntu.com/USN-1237-1)
+ PAM vulnerabilities
+ 24 October 2011

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2011-3628>
