{"id":"CVE-2007-1710","aliases":["EUVD-2007-1704","GHSA-v2p7-54g6-4g8h"],"status":"published","title":"The readfile function in PHP 4.4.4, 5.1.6, and 5.2.1 allows context-dependent attackers to bypass...","description":"The readfile function in PHP 4.4.4, 5.1.6, and 5.2.1 allows context-dependent attackers to bypass safe_mode restrictions and read arbitrary files by referring to local files with a certain URL syntax instead of a pathname syntax, as demonstrated by a filename preceded a \"php://../../\" sequence.","severity":{"version":"2.0","score":4.3,"vector":"AV:L/AC:L/Au:S/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00461,"percentile":0.40227,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"published":"2007-03-27T01:00:00Z","modified":"2026-06-16T22:38:09Z","products":[{"vendor":"php","product":"php"}],"references":[{"url":"http://www.vupen.com/english/advisories/2007/1991","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en\u0026cc=us\u0026objectID=c01056506","tags":["vendor-advisory","x_refsource_HP","x_transferred"]},{"url":"http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en\u0026cc=us\u0026objectID=c01086137","tags":["vendor-advisory","x_refsource_HP","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2007/2374","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://secunia.com/advisories/25423","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/25850","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://www.exploit-db.com/exploits/3573","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-1710"},{"url":"https://github.com/advisories/GHSA-v2p7-54g6-4g8h"}],"sources":{"cve":[{"id":"CVE-2007-1710","description":"The readfile function in PHP 4.4.4, 5.1.6, and 5.2.1 allows context-dependent attackers to bypass safe_mode restrictions and read arbitrary files by referring to local files with a certain URL syntax instead of a pathname syntax, as demonstrated by a filename preceded a \"php://../../\" sequence.","status":"published","published":"2007-03-27T01:00:00Z","modified":"2024-08-07T13:06:26.134Z","updated_at":"2026-11-02T13:33:52.669326Z"}],"euvd":[{"id":"EUVD-2007-1704","description":"The readfile function in PHP 4.4.4, 5.1.6, and 5.2.1 allows context-dependent attackers to bypass safe_mode restrictions and read arbitrary files by referring to local files with a certain URL syntax instead of a pathname syntax, as demonstrated by a filename preceded a \"php://../../\" sequence.","status":"published","published":"2007-03-27T01:00:00Z","modified":"2024-08-07T13:06:26Z","updated_at":"2026-11-03T01:38:24.820783Z"}],"ghsa":[{"id":"GHSA-v2p7-54g6-4g8h","title":"The readfile function in PHP 4.4.4, 5.1.6, and 5.2.1 allows context-dependent attackers to bypass...","description":"The readfile function in PHP 4.4.4, 5.1.6, and 5.2.1 allows context-dependent attackers to bypass safe_mode restrictions and read arbitrary files by referring to local files with a certain URL syntax instead of a pathname syntax, as demonstrated by a filename preceded a \"php://../../\" sequence.","status":"published","published":"2022-05-01T17:56:21Z","modified":"2023-01-31T05:03:22Z","updated_at":"2026-11-02T14:48:27.42074Z"}],"nvd":[{"id":"CVE-2007-1710","description":"The readfile function in PHP 4.4.4, 5.1.6, and 5.2.1 allows context-dependent attackers to bypass safe_mode restrictions and read arbitrary files by referring to local files with a certain URL syntax instead of a pathname syntax, as demonstrated by a filename preceded a \"php://../../\" sequence.","status":"published","published":"2007-03-27T01:19:00Z","modified":"2026-06-16T22:38:09.2Z","cvss":[{"version":"2.0","score":4.3,"vector":"AV:L/AC:L/Au:S/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:01:13.98711Z"}]}}
