CVE-2022-26352: dotCMS Unrestricted Upload of File Vulnerability

Published Jul 17, 2022
·
Updated

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.

Other sources

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.

— CISA

Affected Software

2 affected components
dotCMS dotCMS
dotCMS dotCMS>=3.0<=22.02

Event History

Jul 17, 2022
CVE Published
via MITRE·09:54 PM
Data Sourced
via MITRE·09:54 PM
Description
Data Sourced
via NVD·10:15 PM
DescriptionSeverityAffected Software
Aug 25, 2022
Known Ransomware
via CISA·12:00 AM
Data Sourced
via CISA·12:00 AM
DescriptionWeaknessAffected Software

Frequently Asked Questions

1

What is CVE-2022-26352?

CVE-2022-26352 is a vulnerability in dotCMS that allows attackers to upload and save files outside of the intended storage location.

2

Is the dotCMS Unrestricted Upload of File Vulnerability a critical vulnerability?

Yes, the dotCMS Unrestricted Upload of File Vulnerability has a severity rating of 9.8, which is considered critical.

3

How does the dotCMS Unrestricted Upload of File Vulnerability work?

Attackers can send a crafted multipart form request to the ContentResource API in dotCMS, allowing them to post a file with a filename that is not sanitized. This enables directory traversal and allows the file to be saved outside of the intended storage location.

4

Which versions of dotCMS are affected by CVE-2022-26352?

dotCMS versions 3.0 through 22.02 are affected by CVE-2022-26352.

5

How can I fix the dotCMS Unrestricted Upload of File Vulnerability?

To fix the vulnerability, it is recommended to upgrade dotCMS to a version that includes the security patch provided by the vendor. Ensure that file uploads are properly sanitized and restricted to the intended storage location.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203