Description
The readfile function in PHP 4.4.4, 5.1.6, and 5.2.1 allows context-dependent attackers to bypass safe_mode restrictions and read arbitrary files by referring to local files with a certain URL syntax instead of a pathname syntax, as demonstrated by a filename preceded a "php://../../" sequence.
Remediation
References
Related Vulnerabilities
Undertow Exposure of Resource to Wrong Sphere Vulnerability (CVE-2021-3859)
WordPress Plugin WordPress Photo Gallery by Gallery Bank Unspecified Vulnerability (4.0.48)
Oracle JRE CVE-2023-22036 Vulnerability (CVE-2023-22036)
Plone CMS Permissions, Privileges, and Access Controls Vulnerability (CVE-2013-4200)