Patchfirst
CVE-2022-26352 KEVRansomwarePublic exploit Critical · 9.8 EPSS 91.2%

dotCMS Unrestricted Upload of File Vulnerability

dotCMS · dotCMS

Summary

The dotCMS product's ContentResource API (versions 3.0 through 22.02) fails to sanitize filenames in multipart form uploads, allowing a crafted request to write files outside the intended storage directory via directory traversal. An unauthenticated remote attacker can exploit this without user interaction when anonymous content creation is enabled, uploading an executable file such as a .jsp page that can lead to remote code execution.

Official description · NVD

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.

Breakdown
79.8 / 100
Exploited
Yes, in CISA KEV
Reports
0
Tactics
2/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. How attackers get in

  2. What they do

First seen exploited 2 months before it was disclosed. Public exploit code (Metasploit) was available 2 months before disclosure.

  1. Public exploit codeMetasploit2 mo before
  2. First seen exploitedVulnCheck KEV evidence2 mo before
  3. Disclosedday 0
  4. Added to CISA KEVknown ransomware use; EU database agrees+39 days

CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.

techniques

2 , grouped by in kill-chain order, 2 cited passages 2

Initial AccessTA0001

Exploit Public-Facing Application T1190 Medium
AI mapping from the description · how it is exploited

Unauthenticated multipart upload to public web endpoint

Attackers can craft a multipart form request to post a file
From the official description (NVD) Original (opens in a new tab) ↗

Command and ControlTA0011

Ingress Tool Transfer T1105 Medium
AI mapping from the description · primary impact

Uploads executable file to target system

allows an unauthenticated attacker to upload an executable file
From the official description (NVD) Original (opens in a new tab) ↗

Detection

0 rules for this CVE · 236 general rules for its techniques

Rules for this CVE

0 that reference CVE-2022-26352 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

What security researchers reported

Not named in any threat report yet

Also mentioned in 50 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

3 links, grouped by NVD tag (2 duplicates merged)
↑ ↓ chooseEnter openEsc close