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: 4.8 [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]
CVE-ID: CVE-2005-3054
CWE-ID: CWE-20
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

PHP
Gentoo Linux
dev-php/php
dev-php/php-cgi

How to mitigate CVE-2005-3054

Install update from vendor's website.

PHP - update to 4.4.1
dev-php/php - update to 4.4.0-r4
dev-php/php-cgi - update to 4.4.0-r8

External References

Related Security Bulletins