CVE-2020-23262: SQL injection without credentials in ming-soft MCMS
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.49734%
CWE
Published
2/9/2022
Updated
2/1/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.1 | 5.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from two key functions: 1) The MyBatis mapper IContentDao.xml
uses unsafe ${orderBy} interpolation in SQL ORDER BY clause. 2) The controller MCmsAction.view()
passes unvalidated user input to this query. Runtime detection would show these functions processing malicious 'orderby' values. The XML mapper's SQL construction and Java controller's parameter handling are both visible in stack traces when exploiting the /view.do
endpoint with SQLi payloads.