Description
In dotCMS 5.x-22.06, TempFileAPI allows a user to create a temporary file based on a passed in URL, while attempting to block any SSRF access to local IP addresses or private subnets. In resolving this URL, the TempFileAPI follows any 302 redirects that the remote URL returns. Because there is no re-validation of the redirect URL, the TempFileAPI can be used to return data from those local/private hosts that should not be accessible remotely.
Remediation
References
Related Vulnerabilities
Craft CMS Improper Control of Generation of Code ('Code Injection') Vulnerability (CVE-2023-30179)
PHP Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2013-1643)
MySQL CVE-2012-3144 Vulnerability (CVE-2012-3144)
Oracle Application Server CVE-2009-1010 Vulnerability (CVE-2009-1010)
Phusion Passenger Permissions, Privileges, and Access Controls Vulnerability (CVE-2016-10345)