PHP prior 5.1.0 money_format format string

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 critical was found in PHP. Impacted is the function money_format. Executing a manipulation can lead to format string. This vulnerability is handled as CVE-2007-4658. Additionally, an exploit exists. Upgrading the affected component is advised.

Detailsinfo

A vulnerability was found in PHP (Programming Language Software). It has been declared as critical. This vulnerability affects the function money_format. The manipulation with an unknown input leads to a format string vulnerability. The CWE definition for the vulnerability is CWE-134. The product uses a function that accepts a format string as an argument, but the format string originates from an external source. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

The money_format function in PHP 5 before 5.2.4, and PHP 4 before 4.4.8, permits multiple (1) %i and (2) %n tokens, which has unknown impact and attack vectors, possibly related to a format string vulnerability.

The bug was discovered 08/30/2007. The weakness was released 09/04/2007 by Maksymilian Arciemowicz (shinnai) (Website). The advisory is available at php.net. This vulnerability was named CVE-2007-4658 since 09/04/2007. The exploitation appears to be easy. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Technical details and also a public exploit are known.

It is possible to download the exploit at securityfocus.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 5 days. During that time the estimated underground price was around $25k-$100k. The vulnerability scanner Nessus provides a plugin with the ID 26204 (CentOS 3 : php (CESA-2007:0889)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CentOS Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 165666 (SUSE Enterprise Linux Security Update php4, php5 (SUSE-SA:2008:004)).

Upgrading to version 5.1.0 eliminates this vulnerability. A possible mitigation has been published 4 weeks after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (36377), Tenable (26204), SecurityFocus (BID 25498†), OSVDB (36865†) and Secunia (SA26642†). Entries connected to this vulnerability are available at VDB-3203, VDB-3288, VDB-3287 and VDB-3284. If you want to get best quality of vulnerability data, you may have to visit VulDB.

Productinfo

Type

Name

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: Format string
CWE: CWE-134 / 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: 26204
Nessus Name: CentOS 3 : php (CESA-2007:0889)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

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

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Upgrade: PHP 5.1.0

Timelineinfo

08/30/2007 🔍
08/30/2007 +0 days 🔍
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 🔍
09/26/2007 +8 days 🔍
10/03/2007 +7 days 🔍
03/16/2015 +2721 days 🔍
07/25/2019 +1592 days 🔍

Sourcesinfo

Product: php.org

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

CVE: CVE-2007-4658 (🔍)
GCVE (CVE): GCVE-0-2007-4658
GCVE (VulDB): GCVE-100-38626

OVAL: 🔍

X-Force: 36377
SecurityFocus: 25498 - PHP 5.2.3 and Prior Versions Multiple Vulnerabilities
Secunia: 26642
OSVDB: 36865 - CVE-2007-4658 - PHP - Unspecified Issue
Vulnerability Center: 16076 - PHP < 5.2.4 money_format Function Format String Vulnerability, High
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:37
Changes: 03/16/2015 12:18 (78), 07/25/2019 20:37 (11)
Complete: 🔍
Cache ID: 216::103

If you want to get best quality of vulnerability data, you may have to visit VulDB.

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!