CVE-2019-20842 SQL injection in n/a

High 7.2 Published Updated

Administrators can exploit SQL injection in SearchAllChannels to read or modify database contents in Mattermost Server.

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

What is CVE-2019-20842?

CVE-2019-20842 is a high-severity SQL injection vulnerability in Mattermost Mattermost Server, published on 19 Jun 2020. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

An issue was discovered in Mattermost Server before 5.18.0, 5.17.2, 5.16.4, 5.15.4, and 5.9.7. There is SQL injection by admins via SearchAllChannels.

Weakness: CWE-89

Which versions are affected by CVE-2019-20842?

It affects 1 product.

Products include Mattermost Mattermost Server.

How do I fix CVE-2019-20842?

No fix has been published for CVE-2019-20842 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-2019-20842 being exploited?

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

All Mattermost Mattermost Server vulnerabilities

Sources

Also known as GHSA-rpg8-fq2w-24h9.

Is CVE-2019-20842 in your software?

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

Check your SBOMs for free