CVE-2011-4075 Code injection in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary PHP code in phpLDAPadmin via the orderby parameter, requiring authentication but no user interaction.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2011-4075?

CVE-2011-4075 is a high-severity code injection vulnerability in n/a, published on 2 Nov 2011. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-94

Which versions are affected by CVE-2011-4075?

It affects 1 product.

Products include Phpldapadmin Project Phpldapadmin.

How do I fix CVE-2011-4075?

Upgrade to a fixed version.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2011-4075 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2011-4075 exists.

Public exploit code: 1 Metasploit module and 2 Exploit-DB entries.

Sources

Also known as DEBIAN-CVE-2011-4075, GHSA-5h4f-2c6r-8cj3.

Is CVE-2011-4075 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free