CVE-2007-1522 EXPLOIT
6.8
MEDIUM · CVSS 2.0 · EPSS 6.6% (pctl 94)
Patch early
A public exploit exists.
Description
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.
Scoring
| CVSS | 6.8 (MEDIUM, v2.0) |
|---|---|
| Vector | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| EPSS | 6.61% — more likely to be exploited than 94% of all CVEs |
| On CISA KEV | no |
| Public exploit | yes |
| Published | 2007-03-20 |
| Last modified | 2026-06-16 |
Affected (1)
| Vendor | Product |
|---|---|
| php | php |
Public exploits
| Source | Title | Date |
|---|---|---|
| exploit-db | PHP 5.2.0/5.2.1 - Rejected Session ID Double-Free | 2007-03-14 |
References
- http://secunia.com/advisories/24505
- http://secunia.com/advisories/25056
- http://www.novell.com/linux/security/advisories/2007_32_php.html
- http://www.php-security.org/MOPB/MOPB-23-2007.html
- http://www.securityfocus.com/bid/22971
- http://www.vupen.com/english/advisories/2007/0960
- http://secunia.com/advisories/24505
- http://secunia.com/advisories/25056
- http://www.novell.com/linux/security/advisories/2007_32_php.html
- http://www.php-security.org/MOPB/MOPB-23-2007.html
- http://www.securityfocus.com/bid/22971
- http://www.vupen.com/english/advisories/2007/0960
→ the Explorer · watch your stack · NVD