CVE-2022-37034
dotCMS vulnerability analysis and mitigation

Overview

A vulnerability was discovered in dotCMS 5.x-22.06 (introduced in version 5.2.0) related to the TempResource functionality. The vulnerability, identified as CVE-2022-37034, was discovered by Fortinet's FortiGuard Labs researcher Thanh Nguyen Nguyen and disclosed in August 2022. The issue allows attackers to make multiple calls to the TempFileResource, each requesting the dotCMS server to download large files (DotCMS Security, Fortinet Blog).

Technical details

The vulnerability exists in the TempFileAPI when it attempts to access and download contents from remote URLs. The issue specifically affects the /api/v1/temp/byUrl endpoint. When exploited, the vulnerability can lead to memory exhaustion through multiple simultaneous requests for large file downloads (Fortinet Blog).

Impact

When successfully exploited, this vulnerability results in the exhaustion of Tomcat request-thread pool, ultimately leading to a denial of service condition where the server becomes unable to process any other requests (DotCMS Security).

Mitigation and workarounds

Several mitigation options are available: 1) Upgrade to patched versions including 22.10+, LTS 21.06.12+, or LTS 22.03.4+, 2) Set TEMPRESOURCEALLOW_ANONYMOUS=false, 3) Implement a Web Application Firewall (WAF) to prevent POST requests to the /api/v1/temp/byUrl endpoint (DotCMS Security).

Additional resources


SourceThis report was generated using AI

Related dotCMS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2024-3938MEDIUM6.1
  • dotCMSdotCMS
  • cpe:2.3:a:dotcms:dotcms
NoYesJul 25, 2024
CVE-2023-3042MEDIUM6.1
  • dotCMSdotCMS
  • cpe:2.3:a:dotcms:dotcms
NoYesOct 17, 2023
CVE-2022-37034MEDIUM5.3
  • dotCMSdotCMS
  • cpe:2.3:a:dotcms:dotcms
NoYesFeb 01, 2023
CVE-2024-3165MEDIUM4.5
  • dotCMSdotCMS
  • cpe:2.3:a:dotcms:dotcms
NoYesApr 01, 2024
CVE-2024-3164MEDIUM4.5
  • dotCMSdotCMS
  • cpe:2.3:a:dotcms:dotcms
NoYesApr 01, 2024

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management