PHP up to 5.2.1 Session Extension safe_mode/open_basedir format string
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.6 | $0-$5k | 0.00 |
Summary
A vulnerability classified as critical has been found in PHP up to 5.2.1. The impacted element is an unknown function of the component Session Extension. This manipulation of the argument safe_mode/open_basedir causes format string. This vulnerability is handled as CVE-2007-0905. There is not any exploit available. It is recommended to upgrade the affected component.
Details
A vulnerability has been found in PHP up to 5.2.1 (Programming Language Software) and classified as critical. Affected by this vulnerability is some unknown processing of the component Session Extension. The manipulation of the argument safe_mode/open_basedir with an unknown input leads to a format string vulnerability. The CWE definition for the vulnerability is CWE-134. The product uses a function that accepts a format string as an argument, but the format string originates from an external source. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
PHP before 5.2.1 allows attackers to bypass safe_mode and open_basedir restrictions via unspecified vectors in the session extension. NOTE: it is possible that this issue is a duplicate of CVE-2006-6383.
The weakness was released 02/09/2007 with PHP Team (Website). It is possible to read the advisory at php.net. This vulnerability is known as CVE-2007-0905 since 02/13/2007. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details of the vulnerability are known, but there is no available exploit.
It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 24365 (FreeBSD : php -- multiple vulnerabilities (7fcf1727-be71-11db-b2ec-000c6ec775d9)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 12259 (PHP Prior to 5.2.1/4.4.5 Multiple Vulnerabilities).
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 weeks after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (24365), SecurityFocus (BID 22496†), OSVDB (32768†) and Secunia (SA24419†). Entries connected to this vulnerability are available at VDB-2920, VDB-2914, VDB-2917 and VDB-2918. Be aware that VulDB is the high quality 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: 🔍
Status: Proof-of-Concept
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 24365
Nessus Name: FreeBSD : php -- multiple vulnerabilities (7fcf1727-be71-11db-b2ec-000c6ec775d9)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍
OpenVAS ID: 58010
OpenVAS Name: php -- multiple vulnerabilities
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Patch: php.net
Timeline
02/09/2007 🔍02/09/2007 🔍
02/09/2007 🔍
02/12/2007 🔍
02/12/2007 🔍
02/13/2007 🔍
02/13/2007 🔍
02/17/2007 🔍
02/18/2007 🔍
Sources
Product: php.orgAdvisory: php.net
Researcher: http://www.php.net
Organization: PHP Team
Status: Not defined
Confirmation: 🔍
CVE: CVE-2007-0905 (🔍)
GCVE (CVE): GCVE-0-2007-0905
GCVE (VulDB): GCVE-100-2911
SecurityFocus: 22496 - PHP 5.2.0 and Prior Versions Multiple Vulnerabilities
Secunia: 24419 - Trustix update for php4, Moderately Critical
OSVDB: 32768 - PHP Session Extension Multiple Restriction Bypass
Vupen: ADV-2007-0546
See also: 🔍
Entry
Created: 02/12/2007 16:14Changes: 02/12/2007 16:14 (89)
Complete: 🔍
Cache ID: 216:E9F:103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.