CVE-2022-4375: SQL Injection Vulnerability in Mingsoft MCMS
Summary
CVE-2022-4375: Mingsoft MCMS vulnerable to SQL Injection. Affects net.mingsoft:ms-mcms versions < 5.2.10. Fixed in 5.2.10. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
Mingsoft MCMS is an open-source content management system (CMS) developed by Mingsoft Corporation. It is widely used for creating and managing websites, providing features such as content creation, publishing, and user management. The vulnerability identified as CVE-2022-4375 affects Mingsoft MCMS versions up to 5.2.9. This vulnerability allows an attacker to exploit an unknown function in the '/cms/category/list' file, specifically through the manipulation of the 'sqlWhere' argument, leading to SQL injection. The impact of this vulnerability is classified as critical, as it can be exploited remotely and may result in unauthorized access, data leakage, or other malicious activities. The vulnerability has been disclosed publicly, making it crucial for users to upgrade to version 5.2.10 to mitigate the risk.
Vulnerability Detail
The CVE-2022-4375 vulnerability in Mingsoft MCMS arises from a lack of proper input validation and sanitization in the 'sqlWhere' argument of the '/cms/category/list' file. By crafting malicious SQL statements and injecting them into the vulnerable parameter, an attacker can manipulate the underlying SQL query and potentially execute arbitrary SQL commands. This can lead to unauthorized access to the database, data manipulation, or even complete compromise of the affected system. The vulnerability has a CVSS score of 9.8, indicating its severity and the urgency for remediation.
How To Fix
Latest published version: 6.2.2 as of 22 Oct 2026
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
5.2.10
This is the first release that contains the fix.
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary workaround until the upgrade can be implemented, users can apply input validation and sanitization techniques to the 'sqlWhere' parameter in the '/cms/category/list' file. By implementing proper input validation, including parameterized queries or prepared statements, the risk of SQL injection can be significantly reduced. Here is an example of how to use parameterized queries in Java:
// Assuming 'sqlWhere' is the vulnerable parameter
String sql = "SELECT * FROM categories WHERE sqlWhere = ?";
PreparedStatement statement = connection.prepareStatement(sql);
statement.setString(1, sqlWhere);
ResultSet resultSet = statement.executeQuery();
// Process the results
By using parameterized queries, the user input is treated as data rather than executable code, effectively preventing SQL injection attacks.
Conclusion
The CVE-2022-4375 vulnerability in Mingsoft MCMS poses a critical risk due to its potential for remote SQL injection attacks. It is crucial for users of Mingsoft MCMS versions up to 5.2.9 to upgrade to version 5.2.10 or later to mitigate this vulnerability. Implementing proper input validation and sanitization techniques, such as parameterized queries, is also recommended. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for net.mingsoft:ms-mcms →
FAQ
Mingsoft MCMS is an open-source content management system (CMS) used for creating and managing websites. It provides features such as content creation, publishing, and user management.
The impact of CVE-2022-4375 is classified as critical. It allows remote attackers to execute arbitrary SQL commands, potentially leading to unauthorized access, data leakage, or other malicious activities.
To mitigate the risk of CVE-2022-4375, it is recommended to upgrade Mingsoft MCMS to version 5.2.10 or later. Additionally, implementing proper input validation and sanitization techniques, such as parameterized queries, can help reduce the risk of SQL injection attacks.
The latest version of Mingsoft MCMS can be obtained from the official Mingsoft MCMS website or through the Maven repository.
Yes, you can use Vulert Playground (https://vulert.com/scanner) to check if your application is affected by CVE-2022-4375. Vulert Playground allows you to analyze your pom.xml file and provides real-time monitoring and alerts for open-source vulnerabilities.
Related vulnerabilities
Recent vulnerabilities recorded for net.mingsoft:ms-mcms.