CVE-2002-0253: PHP
Medium severity, CVSS 5.0. EPSS: 5.2% chance of exploitation in the next 30 days.
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 products
- PHP PHP: version 4.0 only; version 4.0.1 only; version 4.0.3 only; version 4.0.4 only; version 4.0.5 only; version 4.0.6 only; …
Published 2002-05-29. Last modified 2026-06-16.