CVE-2022-26352
CRITICAL KEV RANSOMWARE NUCLEIdotcms 3.0-22.02 - Unauthenticated Path Traversal and Remote Code Execution via ContentResource API
Title source: llmExploitation Summary
CVE-2022-26352 is actively exploited and listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added August 25, 2022, with confirmed use in ransomware campaigns.
EIP tracks 1 public exploit from researchers including Shubham Shah, Hussein Daher, jheysel-r7, including a Metasploit module exploits/multi/http/dotcms_file_upload_rce.
A Nuclei detection template is also available.
AI-analyzed exploit summary This Metasploit module exploits a path traversal vulnerability in dotCMS (CVE-2022-26352) to upload a malicious JSP file to the webapp/ROOT directory, achieving remote code execution. The exploit leverages unsanitized filenames in multipart requests to write files outside the intended temp directory.
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.
Exploits (1)
This Metasploit module exploits a path traversal vulnerability in dotCMS (CVE-2022-26352) to upload a malicious JSP file to the webapp/ROOT directory, achieving remote code execution. The exploit leverages unsanitized filenames in multipart requests to write files outside the intended temp directory.
Nuclei Templates (1)
http.title:"dotcms"
title="dotcms"
References (3)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H