CVE-2011-4075 EXPLOIT
7.5
HIGH · CVSS 2.0 · EPSS 51.9% (pctl 99)
Patch early
A public exploit exists.
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.
Scoring
| CVSS | 7.5 (HIGH, v2.0) |
|---|---|
| Vector | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| EPSS | 51.89% — more likely to be exploited than 99% of all CVEs |
| Weakness | CWE-94 |
| On CISA KEV | no |
| Public exploit | yes |
| Published | 2011-11-02 |
| Last modified | 2026-06-16 |
Affected (1)
| Vendor | Product |
|---|---|
| phpldapadmin project | phpldapadmin |
Public exploits
| Source | Title | Date |
|---|---|---|
| exploit-db | phpLDAPadmin 1.2.1.1 - Remote PHP Code Injection (Metasploit) (2) | 2011-10-25 |
| exploit-db | phpLDAPadmin 1.2.1.1 - Remote PHP Code Injection (1) | 2011-10-23 |
References
- http://dev.metasploit.com/redmine/issues/5820
- http://openwall.com/lists/oss-security/2011/10/24/9
- http://openwall.com/lists/oss-security/2011/10/25/2
- 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/46551
- 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
- http://dev.metasploit.com/redmine/issues/5820
- http://openwall.com/lists/oss-security/2011/10/24/9
- http://openwall.com/lists/oss-security/2011/10/25/2
- 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/46551
- http://secunia.com/advisories/46672
→ the Explorer · watch your stack · NVD