CVEvulnerability

CVE-2002-0253

5.0 MEDIUM Published 2002-05-29 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2002-05-29
Last modified
2026-06-16
Assigner
[email protected]
CVSS 2.0 ([email protected])
5.0 MEDIUM — AV:N/AC:L/Au:N/C:P/I:N/A:N

Description

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 configurations

• php php 4.0 • php php 4.0.1 • php php 4.0.3 • php php 4.0.4 • php php 4.0.5 • php php 4.0.6 • php php 4.1.0 • php php 4.1.2

Related

Referenced by CWE · observed example (2)

  • CWE-41 Improper Resolution of Path Equivalence weakness
  • CWE-49 Path Equivalence: 'filename/' (Trailing Slash) weakness

References