CVE-2007-0448 Path traversal in n/a

Critical 10.0 Published Updated

Attackers can bypass safe_mode restrictions to read arbitrary files by exploiting improper handling of invalid URI handlers in PHP.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2007-0448?

CVE-2007-0448 is a critical path traversal vulnerability in Php Php, published on 24 May 2007. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Which versions are affected by CVE-2007-0448?

It affects 1 product.

Products include Php Php.

How do I fix CVE-2007-0448?

No fix has been published for CVE-2007-0448 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2007-0448 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-0448 exists.

Public exploit code: 1 Exploit-DB entry.

All Php Php vulnerabilities

Sources

Also known as GHSA-px6g-f34r-cm5g.

Is CVE-2007-0448 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free