CVE-2022-31943: Unrestricted Upload of File with Dangerous Type in MCMS
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.57675%
CWE
Published
7/2/2022
Updated
1/27/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
net.mingsoft:ms-mcms | maven | = 5.2.8 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability chain combines two functions: 1) BaseFileAction's upload validation only blocks specific extensions while allowing ZIP files, and 2) TemplateAction's ZIP parser extracts files without re-validating contained JSPs. This allows attackers to bypass front-end filtering by packaging JSP webshells in ZIP archives. The GitHub issue #95 explicitly demonstrates this exploit flow through these components.