CVE-2022-26352
dotcms
Published 17 Jul 2022 · updated 17 Jun 2026 · Analyzed
Exploited in the wild
CISA added this to its Known Exploited Vulnerabilities catalog on 25 Aug 2022, with a remediation deadline of 15 Sept 2022 for US federal agencies. It has been used in ransomware campaigns.
Required action: Apply updates per vendor instructions.
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.
References
- packetstormsecurity.com/files/167365/dotCMS-Shell-Upload.html · Exploit, Third Party Advisory, VDB Entry
- groups.google.com/g/dotcms · Permissions Required, Third Party Advisory
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-26352 · US Government Resource