CVE-2020-5724 is a critical SQL injection vulnerability in Grandstream UCM6200 series devices (firmware versions before 1.0.20.22). The flaw exists in the HTTP server's websockify endpoint, specifically in the WebSocket-based challenge generation during the login process. A remote, unauthenticated attacker can exploit this by sending crafted WebSocket requests with maliciously constructed usernames, enabling SQL injection. This allows enumeration of user IDs and extraction of all usernames and passwords from the device database, including the admin account.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository contains a single Metasploit auxiliary module targeting Grandstream UCM62xx IP PBX devices vulnerable to a blind SQL injection (CVE-2020-5724) and cleartext password storage (CVE-2020-5723). The exploit operates by sending crafted WebSocket requests to the '/websockify' endpoint, leveraging a blind SQL injection vulnerability in the authentication challenge mechanism. It uses the server's response status to infer database contents and extracts usernames and cleartext passwords from the 'users' table. The module also checks the device's firmware version via the '/cgi' endpoint to determine if it is vulnerable (versions below 1.0.20.22). The exploit is operational, providing credential extraction capabilities, and is implemented in Ruby as part of the Metasploit framework.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.