Input validation error in PHP - CVE-2002-0253

 

Input validation error in PHP - CVE-2002-0253

Published: October 18, 2016 / Updated: June 8, 2025


Vulnerability identifier: #VU110543
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2002-0253
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to gain access to sensitive information.

PHP, when not configured with the "display_errors = Off" setting in php.ini, allows remote attackers to obtain the physical path for an include file via a trailing slash in a request to a directly accessible PHP program, which modifies the base path, causes the include directive to fail, and produces an error message that contains the path.


Affected software

PHP

How to mitigate CVE-2002-0253

Install update from vendor's website.

PHP - addressed in versions 4.0.7, 4.10

External References

Related Security Bulletins