Vulnerability in PHP
CVE-2007-0448
The fopen function in PHP 5.2.0 does not properly handle invalid URI handlers, which allows context-dependent attackers to bypass safe_mode restrictions and read arbitrary files via a file path specified with an invalid URI, as demonstrated via the srpath URI.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 10.0 (High). Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.071, 94.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP — versions 5.2.0
References
- 20070125 PHP 5.2.0 safe_mode bypass (by Writing Mode) (Exploit, third-party-advisory)
- www.securityfocus.com/bid/22261 (vdb-entry)
- securityreason.com/securityalert/2175 (third-party-advisory)