CVE-2007-4850
PHP 5.2.4 and 5.2.5 - Arbitrary File Read via cURL file:// Null Byte Bypass
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2007-4850. PoCs published by Maksymilian Arciemowicz.
AI-analyzed exploit summary This exploit leverages a PHP cURL safe mode bypass vulnerability by injecting a null byte to access restricted files. It demonstrates the issue by dumping the contents of the script itself via a file:// URL.
Description
curl/interface.c in the cURL library (aka libcurl) in PHP 5.2.4 and 5.2.5 allows context-dependent attackers to bypass safe_mode and open_basedir restrictions and read arbitrary files via a file:// request containing a \x00 sequence, a different vulnerability than CVE-2006-2563.
Exploits (1)
This exploit leverages a PHP cURL safe mode bypass vulnerability by injecting a null byte to access restricted files. It demonstrates the issue by dumping the contents of the script itself via a file:// URL.