CVE-2007-1710
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…
- 4.3MediumCVSS base score
- 0.46%Exploitation in 30 daysEPSS · top 60% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- YesPublic exploitsa reference or SSVC says so
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. A reference of the record is tagged as an exploit.
Show the exploits1
References tagged exploit1 reference
- 3573 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
Timeline
ID reserved
By mitre
- 1 day later
· 1 day later
Published
- 17 years later
· 17 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium4.3 | AV:L/AC:L/Au:S/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 0.46% · top 60% of all CVEs (9 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.3.
Affected products
n/a
- affected n/a
References
7
- ADV-2007-1991 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- SSRT071423 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- HPSBTU02232 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- ADV-2007-2374 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- 25423 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 25850 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 3573 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_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)
- EUVD EUVD-2007-1704 (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://cveledger.app/cve/CVE-2007-1710)Record last updated .