Back
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…
Medium5.0EPSS 2.7%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
- EPSS (exploitation in 30 days)
- 2.7% · top 14% of all CVEs (5 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.0.
Weakness
Affected products
n/a
- affected n/a
References (13)
- 26231 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 27110 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 26048 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- GLSA-200710-02 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- FEDORA-2007-2215 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- 25456 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 2007-0023 (opens in a new tab)vendor-advisoryx_refsource_TRUSTIXx_transferred
- http://www.php.net/releases/5_2_3.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- 24259 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- 27102 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 36084 (opens in a new tab)vdb-entryx_refsource_OSVDBx_transferred
- http://bugs.php.net/bug.php?id=41492 (opens in a new tab)x_refsource_CONFIRMx_transferred
- SUSE-SA:2007:044 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2007-3007)Record last updated .