CVE-2021-46385 Mingsoft MCMS SQL injection vulnerability

High 7.5 Published Updated

An attacker can exploit a SQL injection vulnerability in MCMS to obtain sensitive information from the database remotely.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-46385?

CVE-2021-46385 is a high-severity SQL injection vulnerability in n/a, published on 26 Jan 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

https://gitee.com/mingSoft/MCMS MCMS <=5.2.5 is affected by: SQL Injection. The impact is: obtain sensitive information (remote). The component is: net.mingsoft.mdiy.action.FormDataAction#queryData. The attack vector is: 0 or sleep(3). ¶¶ MCMS has a sql injection vulnerability through which attacker can get sensitive information from the database.

Weakness: CWE-89

Which versions are affected by CVE-2021-46385?

2 open source packages ship an affected version, including net.mingsoft:ms-mcms. It affects 1 product.

PackageAffectedFixed in
net.mingsoft:ms-mcms MavenAll versions to 5.2.5None
net.mingsoft:ms-mcms MavenAll versions to 5.2.5None

Products include Mingsoft Mcms.

How do I fix CVE-2021-46385?

No fix has been published for CVE-2021-46385 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2021-46385 being exploited?

There is no known exploitation of CVE-2021-46385 in the wild and no public exploit code.

Sources

Also known as GHSA-phwq-9gc4-q5c8.

Is CVE-2021-46385 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free