CVE-2022-31943: Unrestricted Upload of File with Dangerous Type in MCMS

net.mingsoft:ms-mcms Updated 02 Oct 2025

Summary

02/07/2022
No i
Critical
9.8

CVE-2022-31943: Unrestricted Upload of File with Dangerous Type in MCMS. Affects net.mingsoft:ms-mcms versions 5.2.8. 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

MCMS (Mingsoft Content Management System) is a Maven package (net.mingsoft:ms-mcms) that provides content management functionality for web applications. It allows users to create, edit, and manage various types of content on their websites. MCMS version 5.2.8 has been found to have a critical vulnerability that allows for the unrestricted upload of files with dangerous types.

Vulnerability Detail

The vulnerability in MCMS v5.2.8 allows an attacker to upload arbitrary files with dangerous types. This can lead to various security risks, such as remote code execution, information disclosure, or denial of service. The lack of proper file type validation and restrictions enables an attacker to upload malicious files, which can be executed or accessed by other users of the application. This vulnerability has a CVSS score of 9.8, indicating its critical severity.

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 file uploads in MCMS or implement additional server-side file type validation and restrictions. This can be done by modifying the application's configuration or implementing custom code to validate the file type before allowing the upload. Here is an example of server-side file type validation in Java:

// Example code for server-side file type validation

String uploadedFileType = getUploadedFileType();

if (!isValidFileType(uploadedFileType)) {
  throw new FileUploadException("Invalid file type");
}

// Continue with file upload

Conclusion

MCMS v5.2.8 has been found to have a critical vulnerability that allows for the unrestricted upload of files with dangerous types. This vulnerability can lead to severe security risks, including remote code execution and information disclosure. It is crucial to update MCMS to a patched version as soon as possible. For further support on vulnerability remediation, please contact DevNack.com.

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

Share this vulnerability

FAQ

MCMS (Mingsoft Content Management System) is a Maven package that provides content management functionality for web applications. It allows users to create, edit, and manage various types of content on their websites.

This vulnerability allows an attacker to upload arbitrary files with dangerous types, which can lead to various security risks such as remote code execution, information disclosure, or denial of service.

The CVSS score of this vulnerability is 9.8, indicating its critical severity.

To fix this vulnerability, it is recommended to update MCMS to a version that includes a patch for this issue. Users should update their installations to the latest patched version as soon as it becomes available.

As a temporary workaround, users can disable file uploads in MCMS or implement additional server-side file type validation and restrictions.

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