Deon George phpLDAPadmin up to 1.2.1.1 lib/functions.php masort orderby code injection

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.0$0-$5k0.00

Summaryinfo

A vulnerability categorized as critical has been discovered in Deon George phpLDAPadmin up to 1.2.1.1. Affected by this vulnerability is the function masort in the library lib/functions.php. Such manipulation of the argument orderby leads to code injection. This vulnerability is uniquely identified as CVE-2011-4075. Moreover, an exploit is present. It is advisable to upgrade the affected component.

Detailsinfo

A vulnerability, which was classified as critical, has been found in Deon George phpLDAPadmin up to 1.2.1.1. Affected by this issue is the function masort in the library lib/functions.php. The manipulation of the argument orderby with an unknown input leads to a code injection vulnerability. Using CWE to declare the problem leads to CWE-94. The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. Impacted is confidentiality, integrity, and availability. CVE summarizes:

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.

The weakness was disclosed 11/02/2011 by EgiX with PHP (Website). The advisory is shared for download at exploit-db.com. This vulnerability is handled as CVE-2011-4075. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. Technical details as well as a public exploit are known. The MITRE ATT&CK project declares the attack technique as T1059.

A public exploit has been developed by EgiX and been published even before and not after the advisory. The exploit is available at securityfocus.com. It is declared as highly functional. The vulnerability was handled as a non-public zero-day exploit for at least 10 days. During that time the estimated underground price was around $0-$5k. By approaching the search of inurl:lib/functions.php it is possible to find vulnerable targets with Google Hacking. The vulnerability scanner Nessus provides a plugin with the ID 56703 (phpLDAPadmin orderby Parameter Arbitrary PHP Code Execution), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CGI abuses.

Upgrading to version 1.2.1.1 eliminates this vulnerability.

The vulnerability is also documented in the databases at X-Force (70919), Exploit-DB (18021), Tenable (56703), SecurityFocus (BID 50331†) and OSVDB (76594†). The entry VDB-59311 is pretty similar. VulDB is the best source for vulnerability data and more expert information about this specific topic.

Productinfo

Vendor

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 7.0

VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Code injection
CWE: CWE-94 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Highly functional
Author: EgiX
Download: 🔍
Google Hack: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 56703
Nessus Name: phpLDAPadmin orderby Parameter Arbitrary PHP Code Execution
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

OpenVAS ID: 70549
OpenVAS Name: Debian Security Advisory DSA 2333-1 (phpldapadmin)
OpenVAS File: 🔍
OpenVAS Family: 🔍

MetaSploit ID: phpldapadmin_query_engine.rb
MetaSploit Name: phpLDAPadmin query_engine Remote PHP Code Injection
MetaSploit File: 🔍

D2Sec: phpLDAPadmin 1.2.1.1 RCE

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: phpLDAPadmin 1.2.1.1
McAfee IPS: 🔍
McAfee IPS Version: 🔍

Timelineinfo

10/18/2011 🔍
10/23/2011 +5 days 🔍
10/23/2011 +0 days 🔍
10/23/2011 +0 days 🔍
10/23/2011 +0 days 🔍
10/31/2011 +8 days 🔍
11/02/2011 +2 days 🔍
11/02/2011 +0 days 🔍
11/03/2011 +1 days 🔍
03/23/2015 +1236 days 🔍
01/02/2025 +3573 days 🔍

Sourcesinfo

Advisory: dsa-2333
Researcher: EgiX
Organization: PHP
Status: Confirmed

CVE: CVE-2011-4075 (🔍)
GCVE (CVE): GCVE-0-2011-4075
GCVE (VulDB): GCVE-100-59312

OVAL: 🔍

X-Force: 70919
SecurityFocus: 50331 - phpLDAPadmin Cross Site Scripting and PHP Code Injection Vulnerabilities
Secunia: 46551
OSVDB: 76594
Vulnerability Center: 33647 - phpLDAPadmin 1.2.0 through 1.2.1.1 \x27Sortby\x27 Remote PHP Code Injection Vulnerability, High

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 03/23/2015 16:50
Updated: 01/02/2025 03:04
Changes: 03/23/2015 16:50 (69), 01/29/2018 16:08 (20), 11/25/2021 03:18 (5), 11/25/2021 03:24 (1), 11/25/2021 03:32 (1), 01/02/2025 03:04 (14)
Complete: 🔍
Cache ID: 216::103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!