CVE-2007-1710: PHP
Medium severity, CVSS 4.3. EPSS: 0.4% chance of exploitation in the next 30 days.
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
- PHP PHP: version 4.4.4 only; version 5.1.6 only; version 5.2.1 only
Published 2007-03-27. Last modified 2026-06-16.