CVE-2020-5722 — Ucm6200 Firmware
CRITICALCVE-2020-5722 is a critical-severity (CVSS 9.8) SQL Injection vulnerability in grandstream ucm6200 firmware. It is in CISA's Known Exploited Vulnerabilities catalog (added 2022-01-28) — treat it as actively exploited and patch now. A fix is available — see the affected versions and patch details below.
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…
Exploitation Status
Actively exploited in the wild
- Confirmed by CISA's Known Exploited Vulnerabilities catalog on 2022-01-28. Federal agencies were required to remediate by 2022-07-28.
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- A successful exploit gives an attacker total control of the affected component, not partial access.
Exploitation and automatability from CISA (KEV catalog and SSVC triage) for CVE-2020-5722.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2020-5722 by exploitation likelihood (EPSS) against impact (CVSS). In the shaded patch-first corner (EPSS 50%+, CVSS 7.0+).
Where this sits among everything scored
Of 395,249 CVEs with a current EPSS score, this one falls in the 50–90% band (highlighted). Counts from FIRST.org, log-scaled.
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.
Affected Products
ucm6200 firmwaregrandstreamResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
UCM6202 1.0.18.13 - Remote Command Injection
by Jacob Baines · Mar 24, 2020
Detection & mitigation playbook
Vendor / applianceDetect
Inventory every grandstream ucm6200 firmware deployment and check each version against the affected-products list above.
Fix
Apply the grandstream ucm6200 firmware security patch or hotfix for CVE-2020-5722 on the affected version, following the vendor advisory for your exact build.
Workarounds
Until you can upgrade, make sure every query built from user input uses parameterised statements or a prepared-statement API rather than string concatenation, and reduce the database account's privileges so an injected query cannot read or alter data beyond what the feature needs. Alongside that, restrict the management interface to trusted networks and apply the vendor's recommended configuration mitigations.
How to detect CVE-2020-5722
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id cve-2020-5722 -u https://target- Template
- Grandstream UCM6200 - SQL Injection
- Severity
- critical
- Impact
- Attackers can execute root shell commands or inject malicious HTML, leading to full device compromise or phishing attacks.
- Remediation
- Update to version 1.0.19.20 or later for root command execution fix, and version 1.0.20.17 or later for email injection fix.
Template by ProjectDiscovery nuclei-templates (theamanrawat), MIT licensed. View the full template. Scan only systems you are authorised to test.
Frequently Asked Questions
Is CVE-2020-5722 being exploited in your environment?
Detect and block the exploit chain at execution, on systems you cannot patch yet.