{"id":"CVE-2007-0448","aliases":["EUVD-2007-0448","GHSA-px6g-f34r-cm5g"],"status":"published","title":"The fopen function in PHP 5.2.0 does not properly handle invalid URI handlers, which allows...","description":"The fopen function in PHP 5.2.0 does not properly handle invalid URI handlers, which allows context-dependent attackers to bypass safe_mode restrictions and read arbitrary files via a file path specified with an invalid URI, as demonstrated via the srpath URI.","severity":{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.07112,"percentile":0.94285,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"published":"2007-05-24T18:00:00Z","modified":"2026-06-16T22:35:35Z","exploits":[{"source":"exploitdb","id":"EDB-29528","title":"PHP 5.2 - FOpen 'Safe_mode' Restriction Bypass","type":"local","platform":"php","date":"2007-01-26","verified":true,"url":"https://www.exploit-db.com/exploits/29528"}],"products":[{"vendor":"php","product":"php"}],"references":[{"url":"http://securityreason.com/achievement_securityalert/44","tags":["third-party-advisory","x_refsource_SREASONRES","x_transferred","Exploit"]},{"url":"http://www.securityfocus.com/bid/22261","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://securityreason.com/securityalert/2175","tags":["third-party-advisory","x_refsource_SREASON","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-0448"},{"url":"https://github.com/advisories/GHSA-px6g-f34r-cm5g"}],"sources":{"cve":[{"id":"CVE-2007-0448","description":"The fopen function in PHP 5.2.0 does not properly handle invalid URI handlers, which allows context-dependent attackers to bypass safe_mode restrictions and read arbitrary files via a file path specified with an invalid URI, as demonstrated via the srpath URI.","status":"published","published":"2007-05-24T18:00:00Z","modified":"2024-08-07T12:19:29.982Z","updated_at":"2026-11-02T13:34:15.046008Z"}],"euvd":[{"id":"EUVD-2007-0448","description":"The fopen function in PHP 5.2.0 does not properly handle invalid URI handlers, which allows context-dependent attackers to bypass safe_mode restrictions and read arbitrary files via a file path specified with an invalid URI, as demonstrated via the srpath URI.","status":"published","published":"2007-05-24T18:00:00Z","modified":"2024-08-07T12:19:29Z","updated_at":"2026-11-03T01:38:30.634408Z"}],"ghsa":[{"id":"GHSA-px6g-f34r-cm5g","title":"The fopen function in PHP 5.2.0 does not properly handle invalid URI handlers, which allows...","description":"The fopen function in PHP 5.2.0 does not properly handle invalid URI handlers, which allows context-dependent attackers to bypass safe_mode restrictions and read arbitrary files via a file path specified with an invalid URI, as demonstrated via the srpath URI.","status":"published","published":"2022-05-01T17:44:15Z","modified":"2023-01-31T05:03:26Z","updated_at":"2026-11-02T14:48:27.875916Z"}],"nvd":[{"id":"CVE-2007-0448","description":"The fopen function in PHP 5.2.0 does not properly handle invalid URI handlers, which allows context-dependent attackers to bypass safe_mode restrictions and read arbitrary files via a file path specified with an invalid URI, as demonstrated via the srpath URI.","status":"published","published":"2007-05-24T18:30:00Z","modified":"2026-06-16T22:35:35.1Z","cvss":[{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:01:16.479378Z"}]}}
