{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2007-3007","published":"2007-06-04T17:30:00Z","last_modified":"2026-06-16T22:40:52.307000Z","status":"Modified","cvss":{"version":"2.0","score":5.0,"severity":"MEDIUM","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-264"],"cpes":[{"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","part":"a","vendor":"php","product":"php","version_start_including":"5.0.0","version_end_excluding":"5.2.3"}],"cpes_truncated":false,"vendors":["php"],"products":["php/php"],"epss":{"score":0.02695,"percentile":0.86657,"date":"2026-11-27","model_version":"v2026.06.15"},"cat":"web","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":45,"links":{"html_es":"/es/cve/CVE-2007-3007/","html_en":"/en/cve/CVE-2007-3007/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2007-3007","cve_org":"https://www.cve.org/CVERecord?id=CVE-2007-3007"},"untrusted":{"vendor_name":"Php","product_name":"Php","desc_en":"PHP 5 before 5.2.3 does not enforce the open_basedir or safe_mode restriction in certain cases, which allows context-dependent attackers to determine the existence of arbitrary files by checking if the readfile function returns a string.  NOTE: this issue might also involve the realpath function.","affected":[],"references":[{"url":"http://bugs.php.net/bug.php?id=41492","tags":["Vendor Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2007-07/msg00006.html","tags":["Mailing List","Third Party Advisory"]},{"url":"http://osvdb.org/36084","tags":["Broken Link"]},{"url":"http://secunia.com/advisories/25456","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/26048","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/26231","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/27102","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/27110","tags":["Vendor Advisory"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml","tags":["Third Party Advisory"]},{"url":"http://www.php.net/releases/5_2_3.php","tags":["Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/24259","tags":["Third Party Advisory","VDB Entry"]},{"url":"http://www.trustix.org/errata/2007/0023/","tags":["Broken Link"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00397.html","tags":["Third Party Advisory"]}]}}