CVE-2011-4075
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 51.9% chance of exploitation in the next 30 days (EPSS). Higher than most.
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 51.9% in the next 30 days (EPSS).
- Severity: 7.5 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 51.9% · EPSS, next 30 days
- Weakness
- CWE-94 · Code injection
- Record status
- Modified
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
Attack profile CVSS 2.0 · 7.5
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2011-4075.md and follow it. Check whether this project is affected by CVE-2011-4075. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- 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://openwall.com/lists/oss-security/2011/10/24/9
- http://openwall.com/lists/oss-security/2011/10/25/2
- http://secunia.com/advisories/46551
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
- 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