CVE-2020-5725 SQL injection in Grandstream UCM6200 series
Remote unauthenticated attackers can exploit SQL injection in the websockify endpoint to discover user passwords via timing attacks.
- 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-5725?
CVE-2020-5725 is a medium-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 login action with a crafted username and, through the use of timing attacks, can discover user passwords.
Weakness: CWE-89
Which versions are affected by CVE-2020-5725?
It affects 3 products.
Products include Grandstream Ucm6202 Firmware, Grandstream Ucm6204 Firmware, Grandstream Ucm6208 Firmware.
How do I fix CVE-2020-5725?
No fix has been published for CVE-2020-5725 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-5725 being exploited?
There is no known exploitation of CVE-2020-5725 in the wild and no public exploit code.
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-5724 SQL injection in Grandstream UCM6200 series
Sources
Also known as GHSA-m9hp-fm3x-p343.