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 | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.3 | $5k-$25k | 0.00 |
Summary
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.
Details
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.
Product
Type
Name
Version
License
Website
- Product: https://www.php.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 7.3
VulDB Base Score: 7.3
VulDB Temp Score: 7.3
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Format stringCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Timeline
05/14/2010 🔍08/04/2010 🔍
09/28/2010 🔍
09/28/2010 🔍
09/28/2010 🔍
10/03/2010 🔍
07/12/2013 🔍
03/19/2015 🔍
09/25/2021 🔍
Sources
Product: php.orgAdvisory: 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: 🔍
Entry
Created: 03/19/2015 14:37Updated: 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.
No comments yet. Languages: en.
Please log in to comment.