CVE-2020-15887 MunkiReport Software Update module is vulnerable to SQL injection

High 8.8 Published Updated

Attackers can execute arbitrary SQL commands via the last URL parameter in the Software Update module, potentially compromising data integrity and confidentiality.

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-15887?

CVE-2020-15887 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 softwareupdate_controller.php in the Software Update module before 1.6 for MunkiReport allows attackers to execute arbitrary SQL commands via the last URL parameter of the /module/softwareupdate/get_tab_data/ endpoint.

Weakness: CWE-89

Which versions are affected by CVE-2020-15887?

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

PackageAffectedFixed in
munkireport/softwareupdate PackagistAll versions1.6
munkireport/softwareupdate PackagistAll versions1.6

Products include Softwareupdate Project Softwareupdate.

How do I fix CVE-2020-15887?

Upgrade munkireport/softwareupdate to 1.6 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-15887 being exploited?

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

Sources

Also known as GHSA-4qgh-m9vp-48xp.

Is CVE-2020-15887 in your software?

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

Check your SBOMs for free