CVEvulnerability
CVE-2022-26352
CISA Known Exploited Vulnerability
dotCMS Unrestricted Upload of File Vulnerability — dotCMS dotCMS
dotCMS ContentResource API contains an unrestricted upload of file with a dangerous type vulnerability that allows for directory traversal, in which the file is saved outside of the intended storage location. Exploitation allows for remote code execution.
- Added to KEV
- 2022-08-25
- Remediation due
- 2022-09-15
- Ransomware use
- Known
- Required action
- Apply updates per vendor instructions.
- Notes
- https://www.dotcms.com/security/SI-62; https://nvd.nist.gov/vuln/detail/CVE-2022-26352
- Status
- Analyzed
- Published
- 2022-07-17
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
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.
Affected configurations
• dotcms dotcms (>= 3.0 <= 22.02)
References
- http://packetstormsecurity.com/files/167365/dotCMS-Shell-Upload.html Exploit, Third Party Advisory, VDB Entry
- https://groups.google.com/g/dotcms Permissions Required, Third Party Advisory
- http://packetstormsecurity.com/files/167365/dotCMS-Shell-Upload.html Exploit, Third Party Advisory, VDB Entry
- https://groups.google.com/g/dotcms Permissions Required, Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-26352 US Government Resource