CVE Catalog

Actively exploited in the wild

dotCMS Unrestricted Upload of File Vulnerability

dotCMS - dotCMS · Listed in the CISA KEV since 2022-08-25. This indicates confirmed attacks in production environments.

Required action: Apply updates per vendor instructions.

CVE-2022-26352

CriticalCVSS 9.8KEV
Published: Updated: Translated: NVD NIST

Summary

In dotCMS 3.0 through 22.02, the ContentResource API has a vulnerability that allows an attacker to bypass filename sanitization in a multipart request. This enables directory traversal, saving files outside the intended location. If anonymous content creation is enabled, an unauthenticated attacker can upload an executable file such as .jsp, leading to remote code execution.

Risk Assessment

Risk of remote code execution on the dotCMS server, potentially leading to full system compromise and data breach.

Recommendation

Update dotCMS to a patched version and disable anonymous content creation if not required.

Other vulnerabilities in dotCMS

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS