CVE-2011-4075 phpldapadmin project phpldapadmin: Code Injection
phpldapadmin project phpldapadmin: no CVSS score yet. EPSS 52% estimated probability of exploitation activity in the next 30 days.
On this page
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.
- EPSS
- 52% (unchanged from 52% a week ago; 52% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
- CWE
- CWE-94 Improper Control of Generation of Code (Code Injection)
- OWASP Top 10
- A05:2025 Injection
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
- Debian: fixed package versions per release
- Patch: http://openwall.com/lists/oss-security/2011/10/24/9
- Patch: http://openwall.com/lists/oss-security/2011/10/25/2
- Vendor advisory: http://secunia.com/advisories/46551
Ask an AI about this CVE
Show the prompt
Explain CVE-2011-4075 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2011-4075?via=ask-ai-copy and https://cve.bz/cve/CVE-2011-4075?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2011-4075 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| phpldapadmin_project:phpldapadmin | 1.2.0 |
| phpldapadmin_project:phpldapadmin | 1.2.0.1 |
| phpldapadmin_project:phpldapadmin | 1.2.0.2 |
| phpldapadmin_project:phpldapadmin | 1.2.0.3 |
| phpldapadmin_project:phpldapadmin | 1.2.0.4 |
| phpldapadmin_project:phpldapadmin | 1.2.0.5 |
| phpldapadmin_project:phpldapadmin | 1.2.1 |
| phpldapadmin_project:phpldapadmin | 1.2.1.1 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 5.0 | phpldapadmin | 1.1.0.5-6+lenny2 | DSA-2333-1 |
| Debian | 6.0 | phpldapadmin | 1.2.0.5-2+squeeze1 | DSA-2333-1 |
| Debian | 12, 13, 14 | phpldapadmin | 1.2.0.5-2.1 | DEBIAN-CVE-2011-4075 |
From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.
Public exploits
- Exploit-DB phpLDAPadmin 1.2.1.1 - Remote PHP Code Injection (Metasploit) (2)
- Exploit-DB phpLDAPadmin 1.2.1.1 - Remote PHP Code Injection (1)
- Metasploit phpLDAPadmin query_engine Remote PHP Code Injection
Attack patterns (CAPEC)
- CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
- CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
- CAPEC-242 Code Injection Likelihood: High · Severity: High
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.
References
- http://openwall.com/lists/oss-security/2011/10/24/9
- http://openwall.com/lists/oss-security/2011/10/25/2
- http://secunia.com/advisories/46551
- http://dev.metasploit.com/redmine/issues/5820
- http://osvdb.org/76594
- http://phpldapadmin.git.sourceforge.net/git/gitweb.cgi?p=phpldapadmin/phpldapadmin%3Ba=blobdiff%3Bf=lib/functions.php%3Bh=eb160dc9f7d74e563131e21d4c85d7849a0c6638%3Bhp=19fde9974d4e5eb3bfac04bb223ccbefdb98f9a0%3Bhb=76e6dad13ef77c5448b8dfed1a61e4acc7241165%3Bhpb=5d4245f93ae6f065e7535f268e3cd87a23b07744
- http://phpldapadmin.sourceforge.net/wiki/index.php/Main_Page
- http://secunia.com/advisories/46672
- http://sourceforge.net/tracker/index.php?func=detail&aid=3417184&group_id=61828&atid=498546
- http://www.debian.org/security/2011/dsa-2333
- http://www.exploit-db.com/exploits/18021/
- http://www.securityfocus.com/bid/50331