dotCMS Unrestricted Upload of File Vulnerability
dotCMS · dotCMS
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.
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.
- Exploited
- Yes, in CISA KEV
- Reports
- 0
- Tactics
- 2/15
How an attack unfolds
Based on MITRE ATT&CKA public catalogue of the techniques attackers use, maintained by MITRE. Patchfirst uses it to describe what attackers do with a vulnerability. mappings. Select a step to see the evidence.Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
First seen exploited 2 months before it was disclosed. Public exploit code (Metasploit) was available 2 months before disclosure.
- Public exploit codeMetasploit2 mo before
- First seen exploitedVulnCheck KEV evidence2 mo before
- Disclosedday 0
- Added to CISA KEVknown ransomware use; EU database agrees+39 days
CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.
MITRE ATT&CKA public catalogue of the techniques attackers use, maintained by MITRE. Patchfirst uses it to describe what attackers do with a vulnerability. techniques
2 TechniqueOne specific attacker behaviour in MITRE ATT&CK, such as T1190 “Exploit Public-Facing Application”. IDs with a dot, like T1059.004, are sub-techniques., grouped by TacticThe attacker’s goal at a stage of an attack in MITRE ATT&CK, such as Initial Access or Persistence. Each technique belongs to one or more tactics. in kill-chain order, 2 cited passages 2Initial AccessTA0001
Unauthenticated multipart upload to public web endpoint
Attackers can craft a multipart form request to post a file
Command and ControlTA0011
Uploads executable file to target system
allows an unauthenticated attacker to upload an executable file
Detection
0 rules for this CVE · 236 general rules for its techniquesRules for this CVE
0Sigma ruleAn open, vendor-neutral detection rule for log data. Security teams convert Sigma rules into searches for their own SIEM. that reference CVE-2022-26352 directly.CVE-specific rules are not available in this build. Search SigmaHQ ↗
General rules for this CVE’s techniques
These detect the technique in general, not this specific vulnerability.
Exploit Public-Facing ApplicationT1190149 general rules
- Arcadyan Router Exploitationscriticaltest
- Citrix ADS Exploitation CVE-2020-8193 CVE-2020-8195criticaltest
- Citrix Netscaler Attack CVE-2019-19781criticaltest
- Confluence Exploitation CVE-2019-3398criticaltest
- CVE-2010-5278 Exploitation Attemptcriticaltest
- CVE-2020-0688 Exchange Exploitation via Web Logcriticaltest
- CVE-2020-10148 SolarWinds Orion API Auth Bypasscriticaltest
- CVE-2020-5902 F5 BIG-IP Exploitation Attemptcriticaltest
Ingress Tool TransferT110587 general rules
- Greenbug Espionage Group Indicatorscriticaltest
- Pandemic Registry Keycriticaltest
- Curl Download And Execute Combinationhightest
- File Download And Execution Via IEExec.EXEhightest
- File Download From IP Based URL Via CertOC.EXEhightest
- File Download Using Notepad++ GUP Utilityhightest
- File Download Via Bitsadmin To A Suspicious Target Folderhightest
- File Download Via Windows Defender MpCmpRun.EXEhightest
Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.
What security researchers reported
Not named in any threat report yetAlso mentioned in 50 community threat pulses (AlienVault OTX)
Weaker evidencePulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.
- Actively_Exploited_Kev | Oct 29, 202628 Oct 2026
- Actively_Exploited_Kev | Oct 28, 202627 Oct 2026
- Actively_Exploited_Kev | Oct 27, 202626 Oct 2026
- Actively_Exploited_Kev | Oct 24, 202623 Oct 2026
- Actively_Exploited_Kev | Oct 23, 202622 Oct 2026
- Actively_Exploited_Kev | Oct 22, 202621 Oct 2026
- 44 more on OTX