CVE-2022-47042
Description
MCMS v5.2.10 and below was discovered to contain an arbitrary file write vulnerability via the component ms/template/writeFileContent.do.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
MCMS v5.2.10 and below allows arbitrary file write via the ms/template/writeFileContent.do component, enabling remote code execution.
Vulnerability
Description MCMS v5.2.10 and earlier contain an arbitrary file write vulnerability in the ms/template/writeFileContent.do endpoint [1][2]. The flaw stems from insufficient validation of file paths and content, allowing an attacker to write arbitrary files to the server filesystem.
Exploitation
An attacker can send a crafted HTTP request to the vulnerable endpoint with malicious content and a desired file path [3]. No authentication is required to trigger the vulnerability, as the endpoint is exposed without access controls. This allows an unauthenticated remote attacker to write files such as JSP shells into the web root.
Impact
Successful exploitation leads to arbitrary code execution under the web server privileges, compromising the confidentiality, integrity, and availability of the application and its data. Attackers can gain full control of the MCMS instance.
Mitigation
The vulnerability is fixed in MCMS versions after 5.2.10. Users should upgrade to the latest version. There is no known workaround; patching is the recommended course of action [2].
AI Insight generated on May 20, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
net.mingsoft:ms-mcmsMaven | < 5.2.11 | 5.2.11 |
Affected products
2- MCMS/MCMSdescription
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3- github.com/advisories/GHSA-65v6-3c9m-hmrpghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-47042ghsaADVISORY
- gitee.com/mingSoft/MCMS/issues/I6592FghsaWEB
News mentions
0No linked articles in our index yet.