All vulnerabilities

Servers and applications

CVE-2002-0253

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.

Severity
Medium 5.0
Published
29 May 2002
Last changed
16 Jun 2026
Added to UpHeron
14 Oct 2026
Exploit chance
5.2% in the next 30 daysHigher than 92% of CVEs. EPSS by FIRST, 12 Nov 2026
Attack
Over the network · No login needed
Attacker can
Read some data
CVSS vector
AV:N/AC:L/Au:N/C:P/I:N/A:N
Sources
NVD

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • Version 4.1.2
  • Version 4.1.0
  • Version 4.0.6
  • Version 4.0.5
All 9 release lines
  • Version 4.0
  • Version 4.0.1
  • Version 4.0.1-patch2
  • Version 4.0.3
  • Version 4.0.4
  • Version 4.0.5
  • Version 4.0.6
  • Version 4.1.0
  • Version 4.1.2

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2002-0253
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2002-0253