All vulnerabilities

Servers and applications

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 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.

Severity
Medium 4.3
Published
27 Mar 2007
Last changed
16 Jun 2026
Added to UpHeron
14 Oct 2026
Exploit chance
0.5% in the next 30 daysHigher than 40% of CVEs. EPSS by FIRST, 12 Nov 2026
Attack
Needs local access · Needs a login
Attacker can
Read some data · Change some data · Slow it down
CVSS vector
AV:L/AC:L/Au:S/C:P/I:P/A:P
Sources
NVD

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • Version 4.4.4
  • Version 5.1.6
  • Version 5.2.1

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2007-1710
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2007-1710