CVE-2011-4075
HighExploitedPublic exploitThe 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.
Published Nov 2, 2011 · Updated Aug 4, 2026 · Also known as DEBIAN-CVE-2011-4075
Key Facts
Patch immediately- CVE-2011-4075 is a high-severity vulnerability (CVSS 7.5 v2) affecting Phpldapadmin (Phpldapadmin Project).
- It is exploited in the wild, listed in Industry KEV feed, CIRCL KEV since Nov 2, 2011. Public exploit code is available.
- EPSS estimates a 52% probability of exploitation in the next 30 days.
- Fixed versions are available, including Phpldapadmin 1.1.0.5-6+lenny2, Phpldapadmin 1.2.0.5-2.1, Phpldapadmin 1.2.0.5-2+squeeze1.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
CVSS v2
7.5
AV:N/AC:L/Au:N/C:P/I:P/A:P
EPSS (30-day exploit likelihood)
52%
Higher than 98.9% of all scored CVEs
Exploited in the wild
Yes
2 catalog listings
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2011-4075 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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.
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| Industry KEV feed | Nov 2, 2011 | n/a | Not reported |
| CIRCL KEV | Nov 2, 2011 | n/a | Not reported |
Required action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Affected Products
17 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| PhpldapadminPhpldapadmin Project | 1.2.0, 1.2.0.1, 1.2.0.2, 1.2.0.3, 1.2.0.4, 1.2.0.5, 1.2.1, 1.2.1.1 | 1.2.0.5-2.1 |
Patched Releases
Phpldapadmin
1.1.0.5-6+lenny2, 1.2.0.5-2.1, 1.2.0.5-2+squeeze1
Timeline
Publicly disclosed
Nov 2, 2011
Added to Industry KEV feed
Nov 2, 2011
Added to CIRCL KEV
Nov 2, 2011
Last updated
Aug 4, 2026
Weakness Type
- CWE-94 Improper Control of Generation of Code ('Code Injection')
References
- advisory46551
- advisoryhttps://security-tracker.debian.org/tracker/CVE-2011-4075
- patch[oss-security] 20111024 CVE request: phpldapadmin <= 1.2.1.1 XSS and and code injection flaws
- patch[oss-security] 20111025 Re: CVE request: phpldapadmin <= 1.2.1.1 XSS and and code injection flaws
- exploithttp://dev.metasploit.com/redmine/issues/5820
FAQ
Common Questions.
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.
Affected: Phpldapadmin (Phpldapadmin Project) versions 1.2.0, 1.2.0.1, 1.2.0.2, 1.2.0.3, 1.2.0.4, 1.2.0.5, 1.2.1, 1.2.1.1. The full list is in the CVE brief.
It is exploited in the wild, listed in Industry KEV feed, CIRCL KEV since Nov 2, 2011.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including Phpldapadmin 1.1.0.5-6+lenny2, Phpldapadmin 1.2.0.5-2.1, Phpldapadmin 1.2.0.5-2+squeeze1.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2011-4075 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo