PHP up to 4.69 tests/tmssql.php Remote Code Execution

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.
6.6$0-$5k0.00

Summaryinfo

A vulnerability was found in PHP up to 4.69. It has been classified as critical. This impacts an unknown function of the file tests/tmssql.php. Performing a manipulation results in Remote Code Execution. This vulnerability is reported as CVE-2006-0147. The attack is possible to be carried out remotely. Moreover, an exploit is present. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability was found in PHP up to 4.69 (Programming Language Software). It has been classified as critical. This affects an unknown code block of the file tests/tmssql.php. The manipulation with an unknown input leads to a remote code execution vulnerability. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

Dynamic code evaluation vulnerability in tests/tmssql.php test script in ADOdb for PHP before 4.70, as used in multiple products including (1) Mantis, (2) PostNuke, (3) Moodle, (4) Cacti, (5) Xaraya, (6) PhpOpenChat, possibly (7) MAXdev MD-Pro, and (8) Simplog, allows remote attackers to execute arbitrary PHP functions via the do parameter, which is saved in a variable that is then executed as a function, as demonstrated using phpinfo.

The bug was discovered 12/30/2005. The weakness was disclosed 01/09/2006 by Andreas Sandblad (Website). The advisory is shared at gentoo.org. This vulnerability is uniquely identified as CVE-2006-0147. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details and a public exploit are known.

After even before and not, there has been an exploit disclosed. The exploit is shared for download at exploit-db.com. It is declared as proof-of-concept. 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 $5k-$25k. By approaching the search of inurl:tests/tmssql.php it is possible to find vulnerable targets with Google Hacking. The vulnerability scanner Nessus provides a plugin with the ID 20384 (ADOdb tmssql.php do Parameter Arbitrary PHP Function 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 4.70 eliminates this vulnerability.

The vulnerability is also documented in the databases at X-Force (24052), Exploit-DB (1663), Tenable (20384), OSVDB (22291†) and Secunia (SA17418†). The entries VDB-28256, VDB-29645, VDB-29644 and VDB-29643 are pretty similar. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 6.6

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

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Remote Code Execution
CWE: Unknown
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
Google Hack: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 20384
Nessus Name: ADOdb tmssql.php do Parameter Arbitrary PHP Function Execution
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

OpenVAS ID: 56535
OpenVAS Name: Debian Security Advisory DSA 1029-1 (libphp-adodb)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: PHP 4.70

Timelineinfo

12/30/2005 🔍
01/09/2006 +9 days 🔍
01/09/2006 +0 days 🔍
01/09/2006 +0 days 🔍
01/09/2006 +0 days 🔍
01/09/2006 +0 days 🔍
01/09/2006 +0 days 🔍
01/10/2006 +0 days 🔍
04/23/2006 +103 days 🔍
03/12/2015 +3245 days 🔍
06/22/2024 +3390 days 🔍

Sourcesinfo

Product: php.org

Advisory: gentoo.org
Researcher: Andreas Sandblad
Status: Not defined

CVE: CVE-2006-0147 (🔍)
GCVE (CVE): GCVE-0-2006-0147
GCVE (VulDB): GCVE-100-28257
X-Force: 24052
Secunia: 17418
OSVDB: 22291 - ADOdb tmssql.php do Variable Arbitrary PHP Function Execution
Vulnerability Center: 11179 - ADOdb for PHP before 4.70 Remote PHP Code Execution via the do Parameter, High

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

Entryinfo

Created: 03/12/2015 11:11
Updated: 06/22/2024 15:52
Changes: 03/12/2015 11:11 (64), 01/11/2019 12:17 (10), 07/07/2021 13:33 (2), 07/07/2021 13:38 (1), 06/22/2024 15:52 (16)
Complete: 🔍
Cache ID: 216::103

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!