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.
Advisories
Source ID Title
EUVD EUVD EUVD-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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-07T12:19:29.982Z

Reserved: 2007-01-23T00:00:00

Link: CVE-2007-0448

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2007-05-24T18:30:00.000

Modified: 2025-04-09T00:30:58.490

Link: CVE-2007-0448

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.