CVE-2006-6383
PHP 5.2.0 and 4.4 - Local Restriction Bypass via Null Byte in session_save_path
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2006-6383. PoCs published by Maksymilian Arciemowicz.
AI-analyzed exploit summary This exploit bypasses PHP's 'safe_mode' and 'open_basedir' restrictions by leveraging a null byte injection in the 'session_save_path' function. It allows an attacker to write session files to unauthorized directories, potentially leading to information disclosure or file manipulation.
Description
PHP 5.2.0 and 4.4 allows local users to bypass safe_mode and open_basedir restrictions via a malicious path and a null byte before a ";" in a session_save_path argument, followed by an allowed path, which causes a parsing inconsistency in which PHP validates the allowed path but sets session.save_path to the malicious path.
Exploits (1)
This exploit bypasses PHP's 'safe_mode' and 'open_basedir' restrictions by leveraging a null byte injection in the 'session_save_path' function. It allows an attacker to write session files to unauthorized directories, potentially leading to information disclosure or file manipulation.