CVE-2022-22929: Arbitrary File Upload in Mingsoft MCMS
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.8514%
CWE
Published
1/22/2022
Updated
7/8/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.4 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from two key functions: 1) The template upload handler that accepts ZIP files without proper content validation, and 2) The ZIP extraction mechanism that places unverified template files (including .ftl files with dangerous Freemarker directives) into executable locations. The combination allows attackers to upload malicious templates containing #exec directives or other dangerous Freemarker code that gets executed when the template is rendered. The high confidence comes from the documented attack flow involving ZIP uploads leading to code execution through template rendering, which requires these two functional components to be vulnerable.