CVE-2022-47042
Java vulnerability analysis and mitigation

Overview

MCMS v5.2.10 and below contains an arbitrary file write vulnerability via the component ms/template/writeFileContent.do. The vulnerability was discovered and reported on December 8, 2022, affecting multiple versions including 5.2.8, 5.2.9, and 5.2.10 (Gitee Issue).

Technical details

The vulnerability exists in the template management functionality, specifically in the file editing feature. The system implements a blacklist for file extensions (exe, jsp, xml, sh, bat, py, ftl, jspx) but can be bypassed in Windows environments. The vulnerability received a CVSS v3.1 base score of 8.8 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

When successfully exploited, this vulnerability allows an attacker to write arbitrary files to the system, potentially leading to remote code execution through the upload of malicious JSP files. The vulnerability is particularly impactful in Windows environments using Tomcat for WAR package deployment (Gitee Issue).

Mitigation and workarounds

The vulnerability has been addressed in versions after 5.2.10. Users running affected versions should upgrade to a patched version of the software (NVD).

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-65091CRITICAL10
  • JavaJava
  • org.xwiki.contrib:macro-fullcalendar-pom
NoYesJan 10, 2026
CVE-2025-70974CRITICAL10
  • JavaJava
  • com.alibaba:fastjson
NoYesJan 09, 2026
CVE-2026-22244HIGH8.5
  • JavaJava
  • org.open-metadata:platform
NoYesJan 08, 2026
CVE-2025-65090MEDIUM5.3
  • JavaJava
  • org.xwiki.contrib:macro-fullcalendar-pom
NoYesJan 10, 2026
CVE-2026-0707MEDIUM5.3
  • JavaJava
  • org.keycloak:keycloak-parent
NoNoJan 08, 2026

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