PHP 5.2.5 printf Functions formatted_print.c php_sprintf_appendstring format numeric error

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

Summaryinfo

A vulnerability was found in PHP 5.2.5. It has been rated as problematic. This issue affects the function php_sprintf_appendstring of the file formatted_print.c of the component printf Functions. Performing a manipulation of the argument format results in numeric error. This vulnerability is reported as CVE-2008-1384. No exploit exists. Upgrading the affected component is advised.

Detailsinfo

A vulnerability, which was classified as problematic, was found in PHP 5.2.5 (Programming Language Software). This affects the function php_sprintf_appendstring of the file formatted_print.c of the component printf Functions. The manipulation of the argument format with an unknown input leads to a numeric error vulnerability. CWE is classifying the issue as CWE-189. This is going to have an impact on availability. The summary by CVE is:

Integer overflow in PHP 5.2.5 and earlier allows context-dependent attackers to cause a denial of service and possibly have unspecified other impact via a printf format parameter with a large width specifier, related to the php_sprintf_appendstring function in formatted_print.c and probably other functions for formatted strings (aka *printf functions).

The bug was discovered 03/21/2008. The weakness was disclosed 03/27/2008 by Maksymilian Arciemowicz with SecurityReason (Website). It is possible to read the advisory at xforce.iss.net. This vulnerability is uniquely identified as CVE-2008-1384 since 03/18/2008. 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 of the vulnerability are known, but there is no available exploit.

The vulnerability was handled as a non-public zero-day exploit for at least 6 days. During that time the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 33381 (openSUSE 10 Security Update : apache2-mod_php5 (apache2-mod_php5-5379)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l.

Upgrading eliminates this vulnerability. A possible mitigation has been published 4 months after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (41386), Tenable (33381), SecurityFocus (BID 28392†), OSVDB (44057†) and Secunia (SA30158†). The entry VDB-3203 is pretty similar. Be aware that VulDB is the high quality source for vulnerability data.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.3
VulDB Meta Temp Score: 5.1

VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Numeric error
CWE: CWE-189
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 33381
Nessus Name: openSUSE 10 Security Update : apache2-mod_php5 (apache2-mod_php5-5379)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 61024
OpenVAS Name: Debian Security Advisory DSA 1572-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: 🔍

Timelineinfo

03/18/2008 🔍
03/21/2008 +3 days 🔍
03/21/2008 +0 days 🔍
03/27/2008 +6 days 🔍
03/27/2008 +0 days 🔍
03/27/2008 +0 days 🔍
04/21/2008 +25 days 🔍
06/23/2008 +63 days 🔍
07/02/2008 +9 days 🔍
03/16/2015 +2448 days 🔍
08/08/2019 +1606 days 🔍

Sourcesinfo

Product: php.org

Advisory: xforce.iss.net
Researcher: Maksymilian Arciemowicz
Organization: SecurityReason
Status: Not defined
Confirmation: 🔍

CVE: CVE-2008-1384 (🔍)
GCVE (CVE): GCVE-0-2008-1384
GCVE (VulDB): GCVE-100-41727

OVAL: 🔍

X-Force: 41386
SecurityFocus: 28392 - PHP 5 'php_sprintf_appendstring()' Remote Integer Overflow Vulnerability
Secunia: 30158
OSVDB: 44057 - CVE-2008-1384 - PHP - Integer Overflow Issue
Vulnerability Center: 18224 - PHP Integer Overflow in the php_sprintf_appendstring Function, High

See also: 🔍

Entryinfo

Created: 03/16/2015 17:00
Updated: 08/08/2019 17:39
Changes: 03/16/2015 17:00 (78), 08/08/2019 17:39 (8)
Complete: 🔍
Cache ID: 216:87B:103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!