CVE-2007-0448
PHP 5.2.0 - Arbitrary File Read via Invalid URI Handler in fopen
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2007-0448. PoCs published by Maksymilian Arciemowicz.
AI-analyzed exploit summary This exploit demonstrates a PHP safe_mode bypass vulnerability (CVE-2007-0448) by using the 'srpath://' stream wrapper to write files outside restricted directories. It affects PHP 5.2.0 and potentially other versions, particularly in shared-hosting environments.
Description
The fopen function in PHP 5.2.0 does not properly handle invalid URI handlers, which allows context-dependent attackers to bypass safe_mode restrictions and read arbitrary files via a file path specified with an invalid URI, as demonstrated via the srpath URI.
Exploits (1)
This exploit demonstrates a PHP safe_mode bypass vulnerability (CVE-2007-0448) by using the 'srpath://' stream wrapper to write files outside restricted directories. It affects PHP 5.2.0 and potentially other versions, particularly in shared-hosting environments.