---
title: "CVE-2011-4075\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-4075?format=md
keywords: index, follow
---

# CVE-2011-4075

Publication date 2 November 2011

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

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

Toggle side navigation

## Description

The masort function in lib/functions.php in phpLDAPadmin 1.2.x before 1.2.2
allows remote attackers to execute arbitrary PHP code via the orderby
parameter (aka sortby variable) in a query\_engine action to cmd.php, as
exploited in the wild in October 2011.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| phpldapadmin | 11.10 oneiric | Fixed 1.2.0.5-2ubuntu1.11.10.1 |
| 11.04 natty | Fixed 1.2.0.5-2ubuntu1.11.04.1 |
| 10.10 maverick | Fixed 1.2.0.5-1.1ubuntu1.1 |
| 10.04 LTS lucid | Fixed 1.2.0.5-1ubuntu1.10.04.2 |
| 8.04 LTS hardy | Ignored end of life |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2011-4075?format=md#patch-details)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| phpldapadmin | * Upstream:   <http://phpldapadmin.git.sourceforge.net/git/gitweb.cgi?p=phpldapadmin/phpldapadmin;a=commit;h=76e6dad13ef77c5448b8dfed1a61e4acc7241165> * Vendor:   <http://www.debian.org/security/2011/dsa-2333> |

## References

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

### Other references

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