CVE-2020-28413 MantisBT SQL Injection via mc_project_get_users function

Medium 5.3 Published Updated

An attacker can perform SQL injection via the SOAP API access parameter in MantisBT, potentially reading or modifying database contents.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-28413?

CVE-2020-28413 is a medium-severity SQL injection vulnerability in Mantisbt Mantisbt, published on 30 Dec 2020. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

In MantisBT 2.24.3, SQL Injection can occur in the parameter "access" of the mc_project_get_users function through the API SOAP.

Weakness: CWE-89

Which versions are affected by CVE-2020-28413?

2 open source packages ship an affected version, including mantisbt/mantisbt. It affects 1 product.

PackageAffectedFixed in
mantisbt/mantisbt PackagistAll versions2.24.4
mantisbt/mantisbt PackagistAll versions2.24.4

Products include Mantisbt Mantisbt.

How do I fix CVE-2020-28413?

Upgrade mantisbt/mantisbt to 2.24.4 or later.

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-2020-28413 being exploited?

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

Public exploit code: 1 Exploit-DB entry and 1 proofs of concept on GitHub.

All Mantisbt Mantisbt vulnerabilities

Sources

Also known as GHSA-49w9-82cj-xr48.

Is CVE-2020-28413 in your software?

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

Check your SBOMs for free