PT-2007-1916 · Php · Php
Published
2007-05-24
·
Updated
2008-09-11
·
CVE-2007-0448
CVSS v2.0
10
High
| Vector | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
PHP version 5.2.0
Description
The issue concerns the fopen function, which does not properly handle invalid URI handlers. This allows attackers to bypass safe mode restrictions and read arbitrary files via a file path specified with an invalid URI.
Recommendations
For PHP version 5.2.0, consider restricting the use of the fopen function with invalid URI handlers until a patch is available. As a temporary workaround, avoid using the fopen function with unvalidated input to minimize the risk of exploitation.
Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Php