CVE-2020-5722 Grandstream Networks UCM6200 Series SQL Injection

Exploited in the wild Critical 9.8 Published Updated

Unauthenticated remote SQL injection in Grandstream UCM6200 allows attackers to execute shell commands as root or inject HTML into password recovery emails.

Exploited in the wild
Since 28 Jan 2022
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2020-5722?

CVE-2020-5722 is a critical SQL injection vulnerability in Grandstream UCM6200 Series, published on 23 Mar 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The HTTP interface of the Grandstream UCM6200 series is vulnerable to an unauthenticated remote SQL injection via crafted HTTP request. An attacker can use this vulnerability to execute shell commands as root on versions before 1.0.19.20 or inject HTML in password recovery emails in versions before 1.0.20.17.

Weakness: CWE-89

Which versions are affected by CVE-2020-5722?

It affects 1 product.

Products include Grandstream Ucm6200 Firmware.

How do I fix CVE-2020-5722?

No fix has been published for CVE-2020-5722 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 28 Jul 2022.

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-5722 being exploited?

Yes. Attackers have exploited CVE-2020-5722 in the wild since at least 28 Jan 2022.

Public exploit code: 1 Metasploit module, 1 Exploit-DB entry and 1 Nuclei template.

Sources

Also known as GHSA-cggp-723h-vg48.

Is CVE-2020-5722 in your software?

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

Check your SBOMs for free