PHP 5.2.0 php_iisfunc.dll iis_getservicestate ServiceId memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.6 | $0-$5k | 0.00 |
Summary
A vulnerability classified as critical was found in PHP 5.2.0. Affected by this issue is the function iis_getservicestate in the library php_iisfunc.dll. The manipulation of the argument ServiceId results in memory corruption.
This vulnerability is identified as CVE-2007-4586. The attack can be executed remotely. Additionally, an exploit exists.
Details
A vulnerability classified as critical has been found in PHP 5.2.0 (Programming Language Software). Affected is the function iis_getservicestate in the library php_iisfunc.dll. The manipulation of the argument ServiceId with an unknown input leads to a memory corruption vulnerability. CWE is classifying the issue as CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
Multiple buffer overflows in php_iisfunc.dll in the iisfunc extension for PHP 5.2.0 and earlier allow context-dependent attackers to execute arbitrary code, probably during Unicode conversion, as demonstrated by a long string in the first argument to the iis_getservicestate function, related to the ServiceId argument to the (1) fnStartService, (2) fnGetServiceState, (3) fnStopService, and possibly other functions.
The weakness was released 08/28/2007 (Website). The advisory is shared for download at milw0rm.com. This vulnerability is traded as CVE-2007-4586 since 08/28/2007. The exploitability is told to be easy. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Technical details and a public exploit are known.
The exploit is shared for download at securityfocus.com. It is declared as proof-of-concept. As 0-day the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 24907 (PHP < 5.2.1 Multiple Vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CGI abuses.
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
The vulnerability is also documented in the databases at X-Force (36262), Tenable (24907), SecurityFocus (BID 25452†) and Vulnerability Center (SBV-37273†). Entries connected to this vulnerability are available at VDB-35615 and VDB-38429. Once again VulDB remains the best source for vulnerability data.
Product
Type
Name
Version
License
Website
- Product: https://www.php.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 6.9
VulDB Base Score: 7.3
VulDB Temp Score: 6.9
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 24907
Nessus Name: PHP < 5.2.1 Multiple Vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
OpenVAS ID: 110175
OpenVAS Name: PHP version smaller than 5.2.1
OpenVAS File: 🔍
OpenVAS Family: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Timeline
08/27/2007 🔍08/27/2007 🔍
08/28/2007 🔍
08/28/2007 🔍
08/28/2007 🔍
11/15/2012 🔍
03/16/2015 🔍
10/01/2024 🔍
Sources
Product: php.orgAdvisory: milw0rm.com⛔
Status: Not defined
CVE: CVE-2007-4586 (🔍)
GCVE (CVE): GCVE-0-2007-4586
GCVE (VulDB): GCVE-100-38556
X-Force: 36262
SecurityFocus: 25452 - PHP IISFunc Extension Local Buffer Overflow Vulnerability
Vulnerability Center: 37273 - PHP 5.2.0 and Earlier Remote Arbitrary Code Execution Vulnerability, High
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 03/16/2015 12:18Updated: 10/01/2024 06:02
Changes: 03/16/2015 12:18 (64), 07/23/2019 15:55 (7), 07/21/2021 17:39 (2), 07/21/2021 17:46 (1), 10/01/2024 06:02 (17)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.