CWE
NVD-CWE-Other
Advisory Published
Updated

CVE-2002-0253

First published: Fri May 03 2002(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
PHP=4.1.0
PHP=4.0.4
PHP=4.0.5
PHP=4.0
PHP=4.0.1-patch2
PHP=4.0.6
PHP=4.1.2
PHP=4.0.1
PHP=4.0.3

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2002-0253?

    CVE-2002-0253 is considered a high-severity vulnerability due to its potential to expose sensitive filesystem information.

  • How do I fix CVE-2002-0253?

    To fix CVE-2002-0253, ensure that the 'display_errors' directive is set to 'Off' in the php.ini configuration file.

  • What versions of PHP are affected by CVE-2002-0253?

    CVE-2002-0253 affects PHP versions 4.0.0 through 4.1.2.

  • Can CVE-2002-0253 be exploited remotely?

    Yes, CVE-2002-0253 can be exploited remotely by attackers who send crafted requests to affected PHP applications.

  • What are the potential consequences of CVE-2002-0253?

    The potential consequences of CVE-2002-0253 include leakage of sensitive information about the server's file structure.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203