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 Software | Affected Version | How 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 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2002-0229 is considered a critical vulnerability due to its potential for unauthorized file access.
To fix CVE-2002-0229, upgrade to a version of PHP later than 4.1.0 where the vulnerability has been resolved.
CVE-2002-0229 affects PHP versions from 3.0 through 4.1.0, including various 3.0.x and 4.0.x releases.
Exploiting CVE-2002-0229 allows attackers to bypass Safe Mode restrictions and read arbitrary files from the server.
To mitigate risks associated with CVE-2002-0229, disable 'LOAD DATA INFILE LOCAL' in MySQL configurations if upgrading is not immediately feasible.