PHP 4.4.7/5.2.3 strcspn memory corruption

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 classified as problematic has been found in PHP 4.4.7/5.2.3. This issue affects the function strcspn. Performing a manipulation results in memory corruption. This vulnerability is known as CVE-2007-4657. Furthermore, an exploit is available. It is recommended to upgrade the affected component.

Detailsinfo

A vulnerability was found in PHP 4.4.7/5.2.3 (Programming Language Software). It has been classified as critical. This affects the function strcspn. The manipulation 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. The summary by CVE is:

Multiple integer overflows in PHP 4 before 4.4.8, and PHP 5 before 5.2.4, allow remote attackers to obtain sensitive information (memory contents) or cause a denial of service (thread crash) via a large len value to the (1) strspn or (2) strcspn function, which triggers an out-of-bounds read. NOTE: this affects different product versions than CVE-2007-3996.

The weakness was published 09/04/2007 by Maksymilian Arciemowicz (shinnai) (Website). The advisory is shared at php.net. This vulnerability is uniquely identified as CVE-2007-4657 since 09/04/2007. 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.

The exploit is shared for download at securityfocus.com. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 29838 (Debian DSA-1444-2 : php5 - several vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks and running in the context l.

Upgrading to version 5.2.3 eliminates this vulnerability. A possible mitigation has been published 6 months after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (36388), Tenable (29838), SecurityFocus (BID 25498†), OSVDB (36862†) and Secunia (SA26642†). Similar entries are available at VDB-3203, VDB-3288, VDB-3284 and VDB-3285. 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: Memory corruption
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 29838
Nessus Name: Debian DSA-1444-2 : php5 - several vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 60099
OpenVAS Name: Debian Security Advisory DSA 1444-1 (php5)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Upgrade: PHP 5.2.3

Timelineinfo

08/30/2007 🔍
08/31/2007 +1 days 🔍
08/31/2007 +0 days 🔍
09/04/2007 +4 days 🔍
09/04/2007 +0 days 🔍
09/04/2007 +0 days 🔍
09/18/2007 +14 days 🔍
01/04/2008 +108 days 🔍
01/23/2008 +19 days 🔍
03/16/2015 +2609 days 🔍
07/25/2019 +1592 days 🔍

Sourcesinfo

Product: php.org

Advisory: php.net
Researcher: Maksymilian Arciemowicz (shinnai)
Status: Not defined
Confirmation: 🔍

CVE: CVE-2007-4657 (🔍)
GCVE (CVE): GCVE-0-2007-4657
GCVE (VulDB): GCVE-100-38625

OVAL: 🔍

X-Force: 36388
SecurityFocus: 25498 - PHP 5.2.3 and Prior Versions Multiple Vulnerabilities
Secunia: 26642
OSVDB: 36862 - PHP strcspn Function Overflow
Vulnerability Center: 16075 - PHP Multiple Integer Overflows Allow Remote Information Disclosure or DoS, Medium
Vupen: ADV-2007-3023

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

Entryinfo

Created: 03/16/2015 12:18
Updated: 07/25/2019 20:28
Changes: 03/16/2015 12:18 (76), 07/25/2019 20:28 (10)
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.

Interested in the pricing of exploits?

See the underground prices here!