CVE-2020-5722: Unauthenticated SQL Injection in Grandstream UCM6200
- Vendor
- Grandstream Networks
CVE-2020-5722 is an unauthenticated SQL injection vulnerability in the HTTP interface of Grandstream UCM6200-series IP PBX systems. A remote attacker can submit a crafted HTTP request to execute shell commands as root on firmware versions earlier than 1.0.19.20 or inject HTML into password-recovery emails on versions earlier than 1.0.20.17. Hoaxcalls, Moobot, and other Mirai variants have exploited this vulnerability for propagation.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
On firmware earlier than 1.0.19.20, exploitation permits complete device compromise through root-level command execution, threatening system confidentiality, integrity, and availability. Attackers can install botnet malware and use compromised devices for further propagation and DDoS attacks. Firmware earlier than 1.0.20.17 also permits HTML injection into password-recovery emails, compromising the integrity of those messages.
Mitigation
If you can’t patch tonight, do this now.
Until firmware can be updated, restrict access to the device's HTTP interface to trusted administrative networks using firewall rules or network access controls, and remove direct public exposure. These restrictions reduce attack surface but do not correct the underlying vulnerability.
Remediation
Patch, then assume compromise.
Upgrade affected Grandstream UCM6200-series devices to firmware version 1.0.20.17 or a later supported release to address both described outcomes. Version 1.0.19.20 addresses the root-level shell-command execution outcome but is below the stated fix threshold for HTML injection into password-recovery emails.
Exploits
1 exploit validated by Mallory's analysis. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2020-5722 exploited in the wild?
- Yes. As of Nov 11, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Jan 28, 2022.
- Is there a public exploit for CVE-2020-5722?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2020-5722, the earliest disclosed Mar 23, 2020.
- Is there a patch for CVE-2020-5722?
- Upgrade affected Grandstream UCM6200-series devices to firmware version 1.0.20.17 or a later supported release to address both described outcomes. Version 1.0.19.20 addresses the root-level shell-command execution outcome but is below the stated fix threshold for HTML injection into password-recovery emails.
- What products are affected by CVE-2020-5722?
- Grandstream Networks Ucm6200 Firmware.
- How severe is CVE-2020-5722?
- CVE-2020-5722 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 84.3% (100th percentile) as of Nov 11, 2026.
Recent activity
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.