{"id":"CVE-2007-3007","state":"PUBLISHED","title":"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 fil","description":"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.","publishedAt":"2007-06-04T17:00:00.000Z","updatedAt":"2024-08-07T13:57:54.929Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://secunia.com/advisories/26231","http://secunia.com/advisories/27110","http://secunia.com/advisories/26048","http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml","https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00397.html","http://secunia.com/advisories/25456","http://www.trustix.org/errata/2007/0023/","http://www.php.net/releases/5_2_3.php","http://www.securityfocus.com/bid/24259","http://secunia.com/advisories/27102","http://osvdb.org/36084","http://bugs.php.net/bug.php?id=41492","http://lists.opensuse.org/opensuse-security-announce/2007-07/msg00006.html"],"weaknesses":[],"ingestedAt":"2026-10-29T19:38:33.664Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2007/3xxx/CVE-2007-3007.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2007-3007","state":"PUBLISHED","datePublished":"2007-06-04T17:00:00.000Z","dateUpdated":"2024-08-07T13:57:54.929Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2007-06-04T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://secunia.com/advisories/26231","name":"26231","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/27110","name":"27110","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/26048","name":"26048","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml","name":"GLSA-200710-02","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00397.html","name":"FEDORA-2007-2215","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://secunia.com/advisories/25456","name":"25456","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.trustix.org/errata/2007/0023/","name":"2007-0023","tags":["vendor-advisory","x_refsource_TRUSTIX"]},{"url":"http://www.php.net/releases/5_2_3.php","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/24259","name":"24259","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://secunia.com/advisories/27102","name":"27102","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://osvdb.org/36084","name":"36084","tags":["vdb-entry","x_refsource_OSVDB"]},{"url":"http://bugs.php.net/bug.php?id=41492","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2007-07/msg00006.html","name":"SUSE-SA:2007:044","tags":["vendor-advisory","x_refsource_SUSE"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2007-06-15T09:00:00.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2007-05-24T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2007-3007","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"26231","refsource":"SECUNIA","url":"http://secunia.com/advisories/26231"},{"name":"27110","refsource":"SECUNIA","url":"http://secunia.com/advisories/27110"},{"name":"26048","refsource":"SECUNIA","url":"http://secunia.com/advisories/26048"},{"name":"GLSA-200710-02","refsource":"GENTOO","url":"http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml"},{"name":"FEDORA-2007-2215","refsource":"FEDORA","url":"https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00397.html"},{"name":"25456","refsource":"SECUNIA","url":"http://secunia.com/advisories/25456"},{"name":"2007-0023","refsource":"TRUSTIX","url":"http://www.trustix.org/errata/2007/0023/"},{"name":"http://www.php.net/releases/5_2_3.php","refsource":"CONFIRM","url":"http://www.php.net/releases/5_2_3.php"},{"name":"24259","refsource":"BID","url":"http://www.securityfocus.com/bid/24259"},{"name":"27102","refsource":"SECUNIA","url":"http://secunia.com/advisories/27102"},{"name":"36084","refsource":"OSVDB","url":"http://osvdb.org/36084"},{"name":"http://bugs.php.net/bug.php?id=41492","refsource":"CONFIRM","url":"http://bugs.php.net/bug.php?id=41492"},{"name":"SUSE-SA:2007:044","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2007-07/msg00006.html"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://secunia.com/advisories/26231","name":"26231","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/27110","name":"27110","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/26048","name":"26048","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml","name":"GLSA-200710-02","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00397.html","name":"FEDORA-2007-2215","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://secunia.com/advisories/25456","name":"25456","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.trustix.org/errata/2007/0023/","name":"2007-0023","tags":["vendor-advisory","x_refsource_TRUSTIX","x_transferred"]},{"url":"http://www.php.net/releases/5_2_3.php","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.securityfocus.com/bid/24259","name":"24259","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://secunia.com/advisories/27102","name":"27102","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://osvdb.org/36084","name":"36084","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"http://bugs.php.net/bug.php?id=41492","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2007-07/msg00006.html","name":"SUSE-SA:2007:044","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-07T13:57:54.929Z"}}]}}}