{"id":"CVE-2002-0229","aliases":["EUVD-2002-0226","GHSA-3hrc-69x2-hp5x"],"status":"published","title":"Safe Mode feature (safe_mode) in PHP 3.0 through 4.1.0 allows attackers with access to the MySQL...","description":"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.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.09579,"percentile":0.95505,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"published":"2002-05-03T04:00:00Z","modified":"2026-06-16T21:57:02Z","exploits":[{"source":"exploitdb","id":"EDB-21264","title":"PHP 4.x/5.x MySQL Library - 'Safe_mode' Filesystem Circumvention (1)","type":"remote","platform":"php","date":"2002-02-03","verified":true,"url":"https://www.exploit-db.com/exploits/21264"},{"source":"exploitdb","id":"EDB-21265","title":"PHP 4.x/5.x MySQL Library - 'Safe_mode' Filesystem Circumvention (2)","type":"remote","platform":"php","date":"2002-02-03","verified":true,"url":"https://www.exploit-db.com/exploits/21265"},{"source":"exploitdb","id":"EDB-21266","title":"PHP 4.x/5.x MySQL Library - 'Safe_mode' Filesystem Circumvention (3)","type":"remote","platform":"php","date":"2002-02-03","verified":true,"url":"https://www.exploit-db.com/exploits/21266"}],"products":[{"vendor":"php","product":"php"}],"references":[{"url":"http://marc.info/?l=ntbugtraq\u0026m=101303819613337\u0026w=2","tags":["mailing-list","x_refsource_NTBUGTRAQ","x_transferred"]},{"url":"http://marc.info/?l=ntbugtraq\u0026m=101303065423534\u0026w=2","tags":["mailing-list","x_refsource_NTBUGTRAQ","x_transferred"]},{"url":"http://marc.info/?l=bugtraq\u0026m=101304702002321\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://marc.info/?l=bugtraq\u0026m=101286577109716\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://marc.info/?l=ntbugtraq\u0026m=101285016125377\u0026w=2","tags":["mailing-list","x_refsource_NTBUGTRAQ","x_transferred"]},{"url":"http://www.iss.net/security_center/static/8105.php","tags":["vdb-entry","x_refsource_XF","x_transferred","Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/4026","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2002-0229"},{"url":"https://github.com/advisories/GHSA-3hrc-69x2-hp5x"}],"sources":{"cve":[{"id":"CVE-2002-0229","description":"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.","status":"published","published":"2002-05-03T04:00:00Z","modified":"2024-08-08T02:42:28.924Z","updated_at":"2026-11-02T14:33:55.642267Z"}],"euvd":[{"id":"EUVD-2002-0226","description":"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.","status":"published","published":"2002-05-03T04:00:00Z","modified":"2024-08-08T02:42:28Z","updated_at":"2026-11-03T01:15:01.501317Z"}],"ghsa":[{"id":"GHSA-3hrc-69x2-hp5x","title":"Safe Mode feature (safe_mode) in PHP 3.0 through 4.1.0 allows attackers with access to the MySQL...","description":"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.","status":"published","published":"2022-04-30T18:18:48Z","modified":"2023-01-30T05:05:59Z","updated_at":"2026-11-02T14:47:23.939517Z"}],"nvd":[{"id":"CVE-2002-0229","description":"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.","status":"published","published":"2002-05-16T04:00:00Z","modified":"2026-06-16T21:57:02.28Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:00:42.220505Z"}]}}
