Description
PHP 5 before 5.2.3 does not enforce the open_basedir or safe_mode restriction in certain cases, which allows context-dependent attackers to determine the existence of arbitrary files by checking if the readfile function returns a string. NOTE: this issue might also involve the realpath function.
Remediation
References
Related Vulnerabilities
PHP Other Vulnerability (CVE-2007-1376)
WordPress Plugin WP FuneralPress Multiple Cross-Site Scripting Vulnerabilities (1.1.6)
MySQL CVE-2022-21640 Vulnerability (CVE-2022-21640)
Oracle Application Server Other Vulnerability (CVE-2006-1884)
PHP Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2007-2748)