Description
An issue was discovered in the ContentResource API in dotCMS 3.0 through 22.02. Attackers can craft a multipart form request to post a file whose filename is not initially sanitized. This allows directory traversal, in which the file is saved outside of the intended storage location. If anonymous content creation is enabled, this allows an unauthenticated attacker to upload an executable file, such as a .jsp file, that can lead to remote code execution.
Remediation
References
Related Vulnerabilities
WordPress Plugin Author Chat Unspecified Vulnerability (1.9.0)
Oracle Database Server CVE-2006-0259 Vulnerability (CVE-2006-0259)
PHP Out-of-bounds Write Vulnerability (CVE-2016-7126)
Plone CMS Resource Management Errors Vulnerability (CVE-2012-5506)
ReviveAdserver URL Redirection to Untrusted Site ('Open Redirect') Vulnerability (CVE-2021-22873)