Input validation error in PHP - CVE-2006-6383

 

Input validation error in PHP - CVE-2006-6383

Published: October 17, 2018 / Updated: June 10, 2025


Vulnerability identifier: #VU110465
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2006-6383
CWE-ID: CWE-20
Exploitation vector: Local access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a local user to read and manipulate data.

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.


Affected software

PHP

How to mitigate CVE-2006-6383

Install update from vendor's website.

PHP - addressed in versions 4.4.0, 5.2.0

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins