CVE-2020-5724 SQL injection in Grandstream UCM6200 series
Remote unauthenticated attackers can exploit SQL injection in the websockify endpoint to discover user passwords on Grandstream UCM6200 devices.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2020-5724?
CVE-2020-5724 is a high-severity SQL injection vulnerability in Grandstream UCM6200 series, published on 30 Mar 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The Grandstream UCM6200 series before 1.0.20.22 is vulnerable to an SQL injection via the HTTP server's websockify endpoint. A remote unauthenticated attacker can invoke the challenge action with a crafted username and discover user passwords.
Weakness: CWE-89
Which versions are affected by CVE-2020-5724?
It affects 3 products.
Products include Grandstream Ucm6202 Firmware, Grandstream Ucm6204 Firmware, Grandstream Ucm6208 Firmware.
How do I fix CVE-2020-5724?
No fix has been published for CVE-2020-5724 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-2020-5724 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-5724 exists.
Public exploit code: 1 Metasploit module.
Other vulnerabilities in Grandstream UCM6200 series
- CVE-2020-5757 Command injection in Grandstream UCM6200 Series
- CVE-2020-5759 Command injection in Grandstream UCM6200 Series
- CVE-2020-5723 Information disclosure in Grandstream UCM6200 series
- CVE-2020-5758 Command injection in Grandstream UCM6200 Series
- CVE-2020-5726 SQL injection in Grandstream UCM6200 series
Sources
Also known as GHSA-p4p6-qxv3-3wvj.