Input validation error in PHP - CVE-2005-3054

 

Input validation error in PHP - CVE-2005-3054

Published: October 3, 2018 / Updated: June 8, 2025


Vulnerability identifier: #VU110506
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2005-3054
CWE-ID: CWE-20
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: PHP Group
Affected software:
PHP

Detailed vulnerability description

The vulnerability allows a local user to gain access to sensitive information.

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.


How to mitigate CVE-2005-3054

Install update from vendor's website.

Sources