CVE-2005-3054 Path traversal in n/a

Low 2.1 Published Updated

PHP scripts can bypass open_basedir restrictions to read files in other directories if the directive ends with a slash.

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-2005-3054?

CVE-2005-3054 is a low-severity path traversal vulnerability in Php Php, published on 26 Sep 2005. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

fopen_wrappers.c in PHP 4.4.0, and possibly other versions, does not properly restrict access to other directories when the open_basedir directive includes a trailing slash, which allows PHP scripts in one directory to access files in other directories whose names are substrings of the original directory.

Which versions are affected by CVE-2005-3054?

It affects 1 product.

Products include Php Php.

How do I fix CVE-2005-3054?

No fix has been published for CVE-2005-3054 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-2005-3054 being exploited?

There is no known exploitation of CVE-2005-3054 in the wild and no public exploit code.

All Php Php vulnerabilities

Sources

Also known as GHSA-qrrp-46f9-qr9m.

Is CVE-2005-3054 in your software?

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

Check your SBOMs for free