PHP up to 5.2.4 cURL safe_mode 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.
3.6$0-$5k0.00

Summaryinfo

A vulnerability classified as problematic was found in PHP. Affected by this vulnerability is an unknown functionality of the component cURL. The manipulation of the argument safe_mode results in numeric error. This vulnerability is identified as CVE-2008-2107. The attack can be executed remotely. Additionally, an exploit exists. Upgrading the affected component is advised.

Detailsinfo

A vulnerability was found in PHP (Programming Language Software). It has been classified as problematic. Affected is an unknown function of the component cURL. The manipulation of the argument safe_mode 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 integrity. CVE summarizes:

The GENERATE_SEED macro in PHP 4.x before 4.4.8 and 5.x before 5.2.5, when running on 32-bit systems, performs a multiplication using values that can produce a zero seed in rare circumstances, which allows context-dependent attackers to predict subsequent values of the rand and mt_rand functions and possibly bypass protection mechanisms that rely on an unknown initial seed.

The weakness was released 05/02/2008 by Maksymilian Arciemowicz (ryan) (Website). The advisory is shared for download at php.net. This vulnerability is traded as CVE-2008-2107 since 05/07/2008. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Technical details and a exploit are known.

It is declared as highly functional. As 0-day the estimated underground price was around $25k-$100k. The vulnerability scanner Nessus provides a plugin with the ID 38691 (Debian DSA-1789-1 : 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. The commercial vulnerability scanner Qualys is able to test this issue with plugin 117267 (CentOS Security Update for PHP (CESA-2008:0544)).

Upgrading eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at php.net. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published 2 years after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (42226), Tenable (38691), SecurityFocus (BID 29009†), Secunia (SA35003†) and Vulnerability Center (SBV-18706†). Entries connected to this vulnerability are available at VDB-3693, VDB-3697, VDB-3695 and VDB-3694. VulDB is the best source for vulnerability data and more expert information about this specific topic.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 3.7
VulDB Meta Temp Score: 3.6

VulDB Base Score: 3.7
VulDB Temp Score: 3.6
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: Highly functional

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 38691
Nessus Name: Debian DSA-1789-1 : php5 - several vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

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

Patch: php.net

Timelineinfo

05/01/2008 🔍
05/02/2008 +1 days 🔍
05/07/2008 +5 days 🔍
05/07/2008 +0 days 🔍
05/07/2008 +0 days 🔍
05/20/2008 +13 days 🔍
06/30/2008 +41 days 🔍
05/04/2009 +308 days 🔍
05/06/2009 +2 days 🔍
03/16/2021 +4332 days 🔍

Sourcesinfo

Product: php.org

Advisory: php.net
Researcher: Maksymilian Arciemowicz (ryan)
Status: Confirmed

CVE: CVE-2008-2107 (🔍)
GCVE (CVE): GCVE-0-2008-2107
GCVE (VulDB): GCVE-100-3696

OVAL: 🔍

X-Force: 42226 - PHP GENERATE_SEED() weak security, Low Risk
SecurityFocus: 29009 - PHP 5.2.5 and Prior Versions Multiple Vulnerabilities
Secunia: 35003 - Debian update for php5, Moderately Critical
Vulnerability Center: 18706 - PHP GENERATE_SEED Macro on 32-bit Systems Allows Remote Security Restrictions Bypass, Medium

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

Entryinfo

Created: 05/20/2008 09:43
Updated: 03/16/2021 13:53
Changes: 05/20/2008 09:43 (87), 06/07/2017 16:04 (9), 03/16/2021 13:53 (3)
Complete: 🔍
Cache ID: 216:501:103

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!