Join our Newsletter — 33% off our NHI Course
Home› Glossary› Threats, Abuse & Incident Response› CVE-2020-5722 (Grandstream Networks UCM6200 Series SQL…
Threats, Abuse & Incident Response

CVE-2020-5722 (Grandstream Networks UCM6200 Series SQL Injection)

← Back to Glossary
By NHI Mgmt Group Updated October 17, 2026 Domain: Threats, Abuse & Incident Response

CVE-2020-5722 is a networks series SQL injection vulnerability in Grandstream UCM6200. CISA added it to the Known Exploited Vulnerabilities catalogue on 28 January 2022, which means attackers have used it in real attacks. Grandstream UCM6200 series is vulnerable to an unauthenticated remote SQL injection via crafted HTTP request. Exploitation can allow for code execution as root.

What this vulnerability means in practice

SQL injection is a database attack class where an application passes attacker-controlled input into a database query, allowing the attacker to alter the query’s meaning. In a product like Grandstream UCM6200, that matters because the vulnerable HTTP request path sits in front of the management or service layer, so a single crafted request can reach the backend logic that should never accept raw query fragments.

This is why SQL injection remains one of the most dangerous web application flaws: it can expose data, modify records, and, when the application has high database or system privilege, become a bridge to broader compromise. For a broader tour of web injection patterns and related attack paths, see the Web Application Attacks Guide.

Why exploitation is especially serious here

The primary danger is not only that an attacker can query or tamper with data, but that this specific flaw was exploitable without authentication and could lead to root-level code execution. That combination turns a request-filtering failure into a full device compromise, which is much more severe than a data-only injection issue.

In appliance-style products, compromise often carries extra weight because the system may store credentials, voicemail, call records, configuration secrets, or trusted administrative functions in one place. Once an attacker crosses from injection into operating-system execution, the appliance can become a stepping stone into adjacent services, networks, or management functions.

The pattern is similar to other exploited vulnerability cases where a web-facing flaw becomes a direct route to command execution, as discussed in Gladinet Hard-Coded Keys RCE Exploitation and SAP SQL Anywhere Monitor hard-coded credentials (CVE-2025-42890).

How organisations assess exposure and reduce impact

Exposure checks start with asset inventory: identify every deployed UCM6200 instance, where it is reachable from, and whether any management interface or related HTTP service is internet-facing. Then compare the exact model and version details against the vendor advisory and the NIST National Vulnerability Database, plus the CISA KEV record for this CVE.

If patching or replacement is delayed, reduce the attack surface by restricting network reachability, placing the device behind trusted admin paths, and disabling any unnecessary external exposure. Because SQL injection is often triggered through a single crafted request, perimeter controls and segmentation are important compensating measures, but they are not substitutes for fixing the vulnerable code path.

For patch planning and prioritisation, the most useful operational frame is vulnerability management discipline, not generic awareness. The Vulnerability Management Guide is useful here because it ties asset scope, KEV status, verification, exceptions, and remediation tracking into one workflow.

Detection, recovery, and post-patch review

Detection should look for unusual HTTP request shapes, unexpected database error patterns, suspicious command execution on the appliance, and any signs that the device initiated outbound connections it normally would not make. On systems like this, compromise review should not stop at “the patch is installed”, because an attacker may have already used the flaw to create persistence or harvest secrets.

After remediation, review administrative accounts, API tokens, stored secrets, configuration exports, and any service credentials that the device could access. When root execution is possible, the blast radius can extend beyond the vulnerable process itself, so post-incident validation should also check for tampered binaries, altered startup items, and suspicious log gaps.

If you need a broader baseline for database access, auditing, and application-to-database trust boundaries, the Database Security Guide is a practical companion reference.

Risk and Threat Considerations

This CVE is risky because it combines unauthenticated reachability, SQL injection, and potential root execution in a network-facing appliance. That makes it attractive for opportunistic exploitation, mass scanning, and rapid post-compromise privilege gain.

Failure mechanism: An attacker sends a crafted HTTP request that alters backend SQL processing, then uses the resulting execution path to run commands as root or pivot into stored data and adjacent systems.

Impact: A successful exploit can expose configuration data, disrupt communications services, undermine administrative trust, and create a durable foothold for follow-on activity.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP ASVS and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP ASVSV2 — Validation and Business LogicSQL injection exploits weak input handling in request processing.
V16 — Security Logging and Error HandlingDetection and review depend on logs and safe error reporting for injection attempts.
Recommendation — Validate all HTTP input before it reaches database queries and enforce parameterized query handling. Log injection attempts and review database and application errors for compromise indicators.
NIST SP 800-53 Rev 5SI-10 — Information Input ValidationThis vulnerability is a classic input-validation failure in a network-facing service.
AC-6 — Least PrivilegeRoot execution impact depends on excessive process or account privilege.
AU-6 — Audit Record Review, Analysis, and ReportingCompromise review requires auditing suspicious requests and post-exploit activity.
Recommendation — Enforce input validation and reject malformed request parameters before query execution. Limit service privileges so a successful injection cannot immediately gain root authority. Review logs and alert on abnormal HTTP requests, command execution, and privilege escalation.

Practitioner Guidance

Why practitioners should care: Treat this as an internet-reachable appliance compromise risk, not just a database bug. The practical question is whether any exposed instance can still accept the vulnerable request path, because one reachable device can become the starting point for broader network intrusion.

What to watch for: Verify inventory, external exposure, and any evidence of suspicious web requests or unexpected root-level activity on the appliance. For a public reference point on the vulnerability record itself, use the CVE Program alongside vendor guidance and CISA KEV.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 17, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org