CVE-2020-15886 MunkiReport reportdata module SQL injection vulnerability

High 8.8 Published Updated

Attackers can execute arbitrary SQL commands via the req parameter in the reportdata module, potentially accessing 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-15886?

CVE-2020-15886 is a high-severity SQL injection vulnerability in n/a, published on 23 Jul 2020. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A SQL injection vulnerability in reportdata_controller.php in the reportdata module before 3.5 for MunkiReport allows attackers to execute arbitrary SQL commands via the req parameter of the /module/reportdata/ip endpoint.

Weakness: CWE-89

Which versions are affected by CVE-2020-15886?

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

PackageAffectedFixed in
munkireport/reportdata PackagistAll versions3.5
munkireport/reportdata PackagistAll versions3.5

Products include Reportdata Project Reportdata.

How do I fix CVE-2020-15886?

Upgrade munkireport/reportdata to 3.5 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-15886 being exploited?

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

Sources

Also known as GHSA-qvw9-6567-wq78.

Is CVE-2020-15886 in your software?

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

Check your SBOMs for free