Input validation error in PHP - CVE-2007-1835

 

Input validation error in PHP - CVE-2007-1835

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


Vulnerability identifier: #VU110416
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-2007-1835
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 4 before 4.4.5 and PHP 5 before 5.2.1, when using an empty session save path (session.save_path), uses the TMPDIR default after checking the restrictions, which allows local users to bypass open_basedir restrictions.


Affected software

PHP

How to mitigate CVE-2007-1835

Install update from vendor's website.

PHP - addressed in versions 4.4.7, 4.10, 5.2.0

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins