| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.6 | $0-$5k | 0.00 |
Summary
A vulnerability identified as critical has been detected in PHP 5.2.0/5.2.1. Affected by this vulnerability is an unknown functionality of the component Session Identifier. This manipulation causes memory corruption. This vulnerability is registered as CVE-2007-1522. Furthermore, an exploit is available.
Details
A vulnerability classified as critical was found in PHP 5.2.0/5.2.1 (Programming Language Software). Affected by this vulnerability is some unknown functionality of the component Session Identifier. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
Double free vulnerability in the session extension in PHP 5.2.0 and 5.2.1 allows context-dependent attackers to execute arbitrary code via illegal characters in a session identifier, which is rejected by an internal session storage module, which calls the session identifier generator with an improper environment, leading to code execution when the generator is interrupted, as demonstrated by triggering a memory limit violation or certain PHP errors.
The weakness was published 03/20/2007 by Stefan Esser (Website). It is possible to read the advisory at vupen.com. This vulnerability is known as CVE-2007-1522. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details are unknown but a public exploit is available.
It is possible to download the exploit at securityfocus.com. It is declared as proof-of-concept. We expect the 0-day to have been worth approximately $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 25159 (PHP < 4.4.7 / 5.2.2 Multiple Vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CGI abuses. The commercial vulnerability scanner Qualys is able to test this issue with plugin 165074 (OpenSUSE Security Update for PHP4, PHP5 (SUSE-SA:2007:032)).
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 X-Force (33046), Exploit-DB (3480), Tenable (25159), SecurityFocus (BID 22971†) and Secunia (SA24505†). Similar entries are available at VDB-35871, VDB-35862, VDB-35861 and VDB-35852. 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: Memory corruptionCWE: 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: 25159
Nessus Name: PHP < 4.4.7 / 5.2.2 Multiple Vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
OpenVAS ID: 850110
OpenVAS Name: SurgeMail SurgeWeb Cross Site Scripting Vulnerability
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Timeline
03/15/2007 🔍03/15/2007 🔍
03/20/2007 🔍
03/20/2007 🔍
03/20/2007 🔍
11/26/2009 🔍
03/13/2015 🔍
04/26/2025 🔍
Sources
Product: php.orgAdvisory: vupen.com⛔
Researcher: Stefan Esser
Status: Not defined
CVE: CVE-2007-1522 (🔍)
GCVE (CVE): GCVE-0-2007-1522
GCVE (VulDB): GCVE-100-35695
X-Force: 33046
SecurityFocus: 22971 - PHP Session Identifier Rejection Double Free Memory Corruption Vulnerability
Secunia: 24505
Vulnerability Center: 24196 - PHP 5.2.0 and 5.2.1 Session Extension Vulnerability Allows Remote Attacker to Execute Arbitrary Code, Medium
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 03/13/2015 12:16Updated: 04/26/2025 03:50
Changes: 03/13/2015 12:16 (59), 02/17/2017 11:29 (12), 07/13/2021 20:48 (3), 07/13/2021 20:56 (1), 01/02/2025 05:30 (19), 04/26/2025 03:50 (2)
Complete: 🔍
Cache ID: 216:36D:103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.