| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.6 | $0-$5k | 0.11 |
Summary
A vulnerability was found in PHP 5.3.0/5.3.1. It has been declared as critical. Impacted is the function phar_wrapper_open_dir of the component Wrapper. The manipulation results in format string.
This vulnerability was named CVE-2010-2094. In addition, an exploit is available.
It is recommended to upgrade the affected component.
Details
A vulnerability classified as critical has been found in PHP 5.3.0/5.3.1 (Programming Language Software). Affected is the function phar_wrapper_open_dir 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:
Multiple format string vulnerabilities in the phar extension in PHP 5.3 before 5.3.2 allow 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 (1) phar_stream_flush, (2) phar_wrapper_unlink, (3) phar_parse_url, or (4) phar_wrapper_open_url functions in ext/phar/stream.c; and the (5) phar_wrapper_open_dir function in ext/phar/dirstream.c, which triggers errors in the php_stream_wrapper_log_error function.
The weakness was presented 05/27/2010 by Stefan Esser (Website). The advisory is shared for download at vupen.com. This vulnerability is traded as CVE-2010-2094 since 05/27/2010. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Technical details and a public exploit are known.
The exploit is shared for download at exploit-db.com. It is declared as proof-of-concept. As 0-day the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 56499 (FreeBSD : pecl-phar -- format string vulnerability (da3d381b-0ee6-11e0-becc-0022156e8794)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 12365 (PHP "ext/phar/stream.c" and "ext/phar/dirstream.c" Multiple Format String Vulnerabilities).
Upgrading to version 5.3.1 eliminates this vulnerability.
The vulnerability is also documented in the databases at Exploit-DB (33988), Tenable (56499), SecurityFocus (BID 40173†) and Vulnerability Center (SBV-25842†). See VDB-4322 and VDB-54852 for similar entries. 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: 6.6
VulDB Base Score: 7.3
VulDB Temp Score: 6.6
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: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 56499
Nessus Name: FreeBSD : pecl-phar -- format string vulnerability (da3d381b-0ee6-11e0-becc-0022156e8794)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍
OpenVAS ID: 68831
OpenVAS Name: FreeBSD Ports: pecl-phar
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: PHP 5.3.1
Timeline
05/14/2010 🔍05/14/2010 🔍
05/24/2010 🔍
05/27/2010 🔍
05/27/2010 🔍
05/27/2010 🔍
10/14/2011 🔍
03/19/2015 🔍
01/25/2025 🔍
Sources
Product: php.orgAdvisory: vupen.com⛔
Researcher: Stefan Esser
Status: Confirmed
CVE: CVE-2010-2094 (🔍)
GCVE (CVE): GCVE-0-2010-2094
GCVE (VulDB): GCVE-100-53388
OVAL: 🔍
SecurityFocus: 40173 - PHP 'ext/phar/stream.c' and 'ext/phar/dirstream.c' Multiple Format String Vulnerabilities
Vulnerability Center: 25842 - PHP 5.3 Through 5.3.2 Remote Multiple Format String Vulnerabilities via Formatted-Printing Functions, High
Vupen: ADV-2011-0068
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 03/19/2015 12:22Updated: 01/25/2025 19:08
Changes: 03/19/2015 12:22 (61), 02/25/2017 10:15 (12), 09/14/2021 11:13 (3), 01/04/2025 23:13 (20), 01/25/2025 19:08 (2)
Complete: 🔍
Cache ID: 216:6A2:103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.