CVE-2007-1522

PHP 5.2.0-5.2.1 - Use After Free

Title source: llm

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.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Stefan Esser · phplocallinux
https://www.exploit-db.com/exploits/3480

Scores

EPSS 0.0801
EPSS Percentile 92.1%

Details

Status published
Products (2)
php/php 5.2.0
php/php 5.2.1
Published Mar 20, 2007
Tracked Since Feb 18, 2026