CVE-2021-46384
Java vulnerability analysis and mitigation

Overview

CVE-2021-46384 affects MCMS versions 5.2.5 and earlier, containing a pre-authentication Remote Code Execution (RCE) vulnerability. The vulnerability allows unauthenticated attackers with network access via HTTP to compromise MCMS through template injection using the expression ${"freemarker.template.utility.Execute"?new()("calc")}. This vulnerability was discovered in January 2022 (Gitee Issue).

Technical details

The vulnerability exists in the EditorAction#editor functionality where attackers can manipulate UEditor configurations through JSON parameters and upload files. By modifying the image upload path to /template/1/default/{time} and adding .htm to allowed extensions, attackers can upload malicious template files. The vulnerability can be triggered through the MCmsAction#search method by passing a tmpl parameter to render the malicious template, leading to remote code execution (Gitee Issue). The vulnerability has been assigned a CVSS v3.1 base score of 9.8 CRITICAL (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) (NVD).

Impact

Successful exploitation of this vulnerability can result in complete takeover of the MCMS system. An attacker can execute arbitrary code on the target system with the privileges of the application, potentially leading to full system compromise (NVD).

Mitigation and workarounds

Users should upgrade to MCMS versions newer than 5.2.5. The vulnerability was addressed in version 5.2.6 (Gitee Issue).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-55749HIGH8.7
  • JavaJava
  • org.xwiki.platform:xwiki-platform-tool-jetty-resources
NoYesDec 01, 2025
CVE-2025-13806MEDIUM6.9
  • JavaJava
  • org.nutz:nutzboot-parent
NoNoDec 01, 2025
CVE-2025-13805MEDIUM6.3
  • JavaJava
  • org.nutz:nutzboot-parent
NoNoDec 01, 2025
CVE-2025-13804MEDIUM5.3
  • JavaJava
  • org.nutz:nutzboot-parent
NoNoDec 01, 2025
CVE-2025-66372LOW2.8
  • JavaJava
  • org.mustangproject:library
NoYesNov 28, 2025

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