7.5
CWE
NVD-CWE-Other
Advisory Published
Updated

CVE-2002-0229

First published: Fri May 03 2002(Updated: )

Safe Mode feature (safe_mode) in PHP 3.0 through 4.1.0 allows attackers with access to the MySQL database to bypass Safe Mode access restrictions and read arbitrary files using "LOAD DATA INFILE LOCAL" SQL statements.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
PHP=3.0
PHP=3.0.5
PHP=3.0.11
PHP=3.0.1
PHP=3.0.2
PHP=4.1.0
PHP=4.0.4
PHP=4.0.5
PHP=3.0.8
PHP=3.0.13
PHP=3.0.7
PHP=3.0.6
PHP=3.0.16
PHP=3.0.10
PHP=3.0.4
PHP=4.0
PHP=4.0.1-patch2
PHP=4.0.6
PHP=4.1.2
PHP=4.0.1
PHP=3.0.12
PHP=4.0.3
PHP=3.0.9
PHP=3.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-0229?

    CVE-2002-0229 is considered a critical vulnerability due to its potential for unauthorized file access.

  • How do I fix CVE-2002-0229?

    To fix CVE-2002-0229, upgrade to a version of PHP later than 4.1.0 where the vulnerability has been resolved.

  • Which versions of PHP are affected by CVE-2002-0229?

    CVE-2002-0229 affects PHP versions from 3.0 through 4.1.0, including various 3.0.x and 4.0.x releases.

  • What is the impact of exploiting CVE-2002-0229?

    Exploiting CVE-2002-0229 allows attackers to bypass Safe Mode restrictions and read arbitrary files from the server.

  • How can I mitigate the risks of CVE-2002-0229?

    To mitigate risks associated with CVE-2002-0229, disable 'LOAD DATA INFILE LOCAL' in MySQL configurations if upgrading is not immediately feasible.

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