PHP 5.3.0/5.3.1/5.3.2/5.3.3 Wrapper stream.c phar_stream_flush 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.
7.3$5k-$25k0.00

Summaryinfo

A vulnerability classified as critical was found in PHP 5.3.0/5.3.1/5.3.2/5.3.3. The affected element is the function phar_stream_flush of the file stream.c of the component Wrapper. The manipulation results in format string. This vulnerability is reported as CVE-2010-2950. No exploit exists.

Detailsinfo

A vulnerability was found in PHP 5.3.0/5.3.1/5.3.2/5.3.3 (Programming Language Software). It has been classified as critical. Affected is the function phar_stream_flush of the file stream.c of the component Wrapper. The manipulation with an unknown input leads to a format string vulnerability. CWE is classifying the issue as CWE-134. The product uses a function that accepts a format string as an argument, but the format string originates from an external source. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:

Format string vulnerability in stream.c in the phar extension in PHP 5.3.x through 5.3.3 allows context-dependent attackers to obtain sensitive information (memory contents) and possibly execute arbitrary code via a crafted phar:// URI that is not properly handled by the phar_stream_flush function, leading to errors in the php_stream_wrapper_log_error function. NOTE: this vulnerability exists because of an incomplete fix for CVE-2010-2094.

The weakness was disclosed 09/28/2010 by Stefan Esser as Bug 598537 as not defined bug report (Bugzilla). The advisory is shared for download at bugzilla.redhat.com. This vulnerability is traded as CVE-2010-2950. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. There are known technical details, but no exploit is available. The current price for an exploit might be approx. USD $5k-$25k (estimation calculated on 09/25/2021).

The vulnerability scanner Nessus provides a plugin with the ID 68571 (Oracle Linux 5 : php53 (ELSA-2012-1047)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Oracle Linux Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 120480 (CentOS Security Update for PHP (CESA-2012:1046)).

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 Tenable (68571), SecurityFocus (BID 40173†) and Vulnerability Center (SBV-27339†). The entries VDB-4322, VDB-53388, VDB-60175 and VDB-60060 are pretty similar. Once again VulDB remains the best 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: 7.3
VulDB Meta Temp Score: 7.3

VulDB Base Score: 7.3
VulDB Temp Score: 7.3
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: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 68571
Nessus Name: Oracle Linux 5 : php53 (ELSA-2012-1047)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 68689
OpenVAS Name: FreeBSD Ports: php5
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔍

Timelineinfo

05/14/2010 🔍
08/04/2010 +81 days 🔍
09/28/2010 +55 days 🔍
09/28/2010 +0 days 🔍
09/28/2010 +0 days 🔍
10/03/2010 +5 days 🔍
07/12/2013 +1013 days 🔍
03/19/2015 +615 days 🔍
09/25/2021 +2382 days 🔍

Sourcesinfo

Product: php.org

Advisory: Bug 598537
Researcher: Stefan Esser
Status: Not defined
Confirmation: 🔍

CVE: CVE-2010-2950 (🔍)
GCVE (CVE): GCVE-0-2010-2950
GCVE (VulDB): GCVE-100-54852

OVAL: 🔍

SecurityFocus: 40173 - PHP 'ext/phar/stream.c' and 'ext/phar/dirstream.c' Multiple Format String Vulnerabilities
Vulnerability Center: 27339 - PHP 5.3-5.3.3 Remote Information Disclosure or Arbitrary Code Execution Vulnerability, High

See also: 🔍

Entryinfo

Created: 03/19/2015 14:37
Updated: 09/25/2021 16:21
Changes: 03/19/2015 14:37 (64), 03/06/2017 11:10 (10), 09/25/2021 16:13 (4), 09/25/2021 16:21 (1)
Complete: 🔍
Cache ID: 216:1DE:103

Once again VulDB remains the best 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!