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
Published Mar 27, 2007
4.3
MEDIUMCVSS 2.0
EPSS 0.44%
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.
Affected products
Remediation
Red Hat statement
We do not consider these to be security issues. For more details see http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=169857#c1 and http://www.php.net/security-note.php
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:L/AC:L/Au:S/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.44% (0.00444) | 36.26th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.44% (0.00444) | 35.11th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.13% (0.00127) | 29.49th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.07% (0.00074) | 34.12th | v3 (v2023.03.01) |
| Nov 13, 2023 | 0.07% (0.00074) | 31.06th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.07% (0.00067) | 27.22th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.28% (0.01282) | 68.34th | v2 (v2022.01.01) |
| Feb 22, 2023 | 1.28% (0.01282) | 68.05th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.28% (0.01282) | 65.91th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.28% (0.01282) | 41.72th | v2 (v2022.01.01) |
No CWE recorded.
References (10)
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01056506 vendor-advisoryx_refsource_HP
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01086137 vendor-advisoryx_refsource_HP
- http://secunia.com/advisories/25423 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/25850 third-party-advisoryx_refsource_SECUNIA
- http://www.vupen.com/english/advisories/2007/1991 vdb-entryx_refsource_VUPEN
- http://www.vupen.com/english/advisories/2007/2374 vdb-entryx_refsource_VUPEN
- https://access.redhat.com/security/cve/CVE-2007-1710 Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2007-1710
- https://www.cve.org/CVERecord?id=CVE-2007-1710
- https://www.exploit-db.com/exploits/3573 exploitx_refsource_EXPLOIT-DB
| Link | Providers | Tags |
|---|---|---|
| http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01056506 | vendor-advisoryx_refsource_HP | |
| http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01086137 | vendor-advisoryx_refsource_HP | |
| http://secunia.com/advisories/25423 | third-party-advisoryx_refsource_SECUNIA | |
| http://secunia.com/advisories/25850 | third-party-advisoryx_refsource_SECUNIA | |
| http://www.vupen.com/english/advisories/2007/1991 | vdb-entryx_refsource_VUPEN | |
| http://www.vupen.com/english/advisories/2007/2374 | vdb-entryx_refsource_VUPEN | |
| https://access.redhat.com/security/cve/CVE-2007-1710 | Vendor Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2007-1710 | ||
| https://www.cve.org/CVERecord?id=CVE-2007-1710 | ||
| https://www.exploit-db.com/exploits/3573 | exploitx_refsource_EXPLOIT-DB |
Change history (0)
No recorded changes yet.