CVE-2021-46036
Description
An arbitrary file upload vulnerability in the component /ms/file/uploadTemplate.do of MCMS v5.2.4 allows attackers to execute arbitrary code.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
MCMS v5.2.4 contains an arbitrary file upload vulnerability in the file upload component, allowing unauthenticated attackers to execute arbitrary code via a crafted .jspx file.
Vulnerability
MCMS v5.2.4 suffers from an arbitrary file upload vulnerability in the /ms/file/uploadTemplate.do endpoint (also accessible via /file/upload) [1]. The application fails to properly validate uploaded file types, only filtering .jsp but not .jspx extensions, allowing attackers to upload malicious JSPX files [1]. This affects the default configuration.
Exploitation
An unauthenticated attacker can send a POST request to /file/upload.do with a multipart form-data containing a .jspx file (e.g., a webshell) [1]. No authentication is required for this endpoint, as demonstrated in the reference [1]. The attacker can then access the uploaded file to execute arbitrary commands.
Impact
Successful exploitation allows remote code execution on the server with the privileges of the web application [1]. An attacker can upload a webshell and gain full control over the MCMS instance, potentially leading to data theft, further compromise, or lateral movement.
Mitigation
As of the publication date (2022-02-18), no official patch has been released for MCMS v5.2.4 [1][2]. Users should restrict access to the vulnerable endpoints via web server configuration or firewall rules, and consider upgrading to a patched version if available. The vendor (ming-soft) may have addressed this in later releases; check the official repository for updates.
AI Insight generated on May 21, 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.4 | — |
Affected products
2- MCMS/MCMSdescription
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
4- github.com/advisories/GHSA-g8j8-mgh9-q77pghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-46036ghsaADVISORY
- lycshub.github.io/2021/12/28/MCMS-vulnerabilitiesghsaWEB
- lycshub.github.io/2021/12/28/MCMS-vulnerabilities/mitrex_refsource_MISC
News mentions
0No linked articles in our index yet.