CVE-2021-46386: Mingsoft MCMS Remote Code Execution via File Upload

net.mingsoft:ms-mcms Updated 02 Oct 2025

Summary

27/01/2022
No i
Critical
9.8

CVE-2021-46386: Mingsoft MCMS vulnerable to Remote Code Execution via file upload. Affects net.mingsoft:ms-mcms versions < 5.2.5. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Mingsoft MCMS is a Java CMS (Content Management System) that allows users to create and manage websites. It is built using the Maven ecosystem and is identified by the package name 'net.mingsoft:ms-mcms'. This CMS provides various features and functionalities for website development and content management. However, versions prior to and including 5.2.5 of Mingsoft MCMS are vulnerable to a critical remote code execution vulnerability through a file upload mechanism.

Vulnerability Detail

The vulnerability in Mingsoft MCMS arises from a file upload flaw in the 'net.mingsoft.basic.action.web.FileAction#upload' function. Attackers can exploit this vulnerability by uploading a malicious jspx webshell, which can then be executed remotely. This allows the attacker to execute arbitrary code on the server, potentially leading to unauthorized access, data breaches, or further compromise of the system. It is important to note that it is unclear if this vulnerability has been patched in the latest version of Mingsoft MCMS.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can disable the file upload functionality in Mingsoft MCMS until a patch is available. This can be done by modifying the configuration or access control settings to prevent unauthorized file uploads. However, this workaround may limit certain functionalities of the CMS, so it is advised to apply the official patch as soon as it becomes available.

Conclusion

Mingsoft MCMS versions prior to and including 5.2.5 are vulnerable to remote code execution through a file upload vulnerability. It is crucial for users of Mingsoft MCMS to update to a patched version as soon as it becomes available. Regularly checking for updates and applying them promptly is essential to ensure the security and integrity of the system. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for net.mingsoft:ms-mcms →

Share this vulnerability

FAQ

Mingsoft MCMS is a Java-based Content Management System (CMS) used for website development and content management.

This vulnerability allows remote attackers to execute arbitrary code on the server, potentially leading to unauthorized access, data breaches, or further compromise of the system.

To fix this vulnerability, it is recommended to update Mingsoft MCMS to a version that includes the necessary security patches.

As a temporary workaround, users can disable the file upload functionality in Mingsoft MCMS until a patch is available.

It is unclear if this vulnerability has been patched in the latest version of Mingsoft MCMS. Users should regularly check for updates and apply them promptly.

Related vulnerabilities

Recent vulnerabilities recorded for net.mingsoft:ms-mcms.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback