Vulnerability in PHP
CVE-2007-3007
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.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 5.0 (Medium). Vector: AV:N/AC:L/Au:N/C:P/I:N/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS: 0.027 (85.3th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 85th percentile — 85.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.027 · newest: 0.027 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- secunia.com/advisories/26231 (Vendor Advisory, third-party-advisory)
- secunia.com/advisories/27110 (Vendor Advisory, third-party-advisory)
- secunia.com/advisories/26048 (Vendor Advisory, third-party-advisory)
- www.gentoo.org/security/en/glsa/glsa-200710-02.xml (vendor-advisory, Third Party Advisory)
- www.redhat.com/archives/fedora-package-announce/2007-September/msg00397.html (vendor-advisory, Third Party Advisory)
- secunia.com/advisories/25456 (Vendor Advisory, third-party-advisory)
- www.trustix.org/errata/2007/0023/ (vendor-advisory, Broken Link)
- www.php.net/releases/5_2_3.php (Vendor Advisory)
- www.securityfocus.com/bid/24259 (VDB Entry, Third Party Advisory, vdb-entry)
- secunia.com/advisories/27102 (Vendor Advisory, third-party-advisory)
Frequently asked questions
- What is CVE-2007-3007?
- CVE-2007-3007 is a vulnerability in PHP, classified under CWE-264. Published 2007-06-04.
- Is CVE-2007-3007 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.