Skip to content
Fencer Intel
high 7.5

CVE-2011-4075 in the critical feed json

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 o…

published 2011-11-02 15 y ago modified 2026-06-16 4 mo ago also EUVD-2011-4027

cvss
7.5
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
51.9%
EPSS 51.9% chance of exploitation in 30 days, percentile 98%
public exploits
3
Metasploit, Exploit-DB

Summary

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.

Patch / fix

  • phpldapadmin Debian 14, Debian 13, Debian 12 1.2.0.5-2.1

debian advisories DEBIAN-CVE-2011-4075

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2011-4075 updated cvss 6.8

phpldapadmin: XSS and code injection vulnerabilities in <= 1.2.1.1

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Timeline

  1. First public exploit (EDB-18021)
  2. Published

Exploit prediction

51.89% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • Metasploit exploit/multi/http/phpldapadmin_query_engine phpLDAPadmin query_engine Remote PHP Code Injection metasploit exploit, excellent rank, 2011-10-24
  • EDB-18031 phpLDAPadmin 1.2.1.1 - Remote PHP Code Injection (Metasploit) (2) webapps, 2011-10-25
  • EDB-18021 phpLDAPadmin 1.2.1.1 - Remote PHP Code Injection (1) webapps, 2011-10-23
  • openwall.com http://openwall.com/lists/oss-security/2011/10/25/2 referenced PoC, tagged "exploit" by a source, unverified
  • openwall.com http://openwall.com/lists/oss-security/2011/10/24/9 referenced PoC, tagged "exploit" by a source, unverified
  • dev.metasploit.com http://dev.metasploit.com/redmine/issues/5820 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-94 Improper Control of Generation of Code

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.