Vulnerability Details : CVE-2020-5722
Public exploit exists!
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.
Vulnerability category: Sql Injection
CVE-2020-5722 is in the CISA Known Exploited Vulnerabilities Catalog
CISA vulnerability name:
Grandstream Networks UCM6200 Series SQL Injection Vulnerability
CISA required action:
Apply updates per vendor instructions.
CISA description:
Grandstream UCM6200 series is vulnerable to an unauthenticated remote SQL injection via crafted HTTP request. Exploitation can allow for code execution as root.
Notes:
https://nvd.nist.gov/vuln/detail/CVE-2020-5722
Added on
2022-01-28
Action due date
2022-07-28
Exploit prediction scoring system (EPSS) score for CVE-2020-5722
97.52%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 100 %
Percentile, the proportion of vulnerabilities that are scored at or less
Metasploit modules for CVE-2020-5722
-
Grandstream UCM62xx IP PBX sendPasswordEmail RCE
Disclosure Date: 2020-03-23First seen: 2022-12-23exploit/linux/http/grandstream_ucm62xx_sendemail_rceThis module exploits an unauthenticated SQL injection vulnerability (CVE-2020-5722) and a command injection vulnerability (technically, no assigned CVE but was inadvertently patched at the same time as CVE-2019-10662) affecting the Grandstream UCM62xx IP PBX
CVSS scores for CVE-2020-5722
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
10.0
|
HIGH | AV:N/AC:L/Au:N/C:C/I:C/A:C |
10.0
|
10.0
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2020-5722
-
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.Assigned by: nvd@nist.gov (Primary)
References for CVE-2020-5722
-
https://www.tenable.com/security/research/tra-2020-15
Grandstream UCM62xx SQL Injection - Research Advisory | Tenable®Exploit;Third Party Advisory
-
http://packetstormsecurity.com/files/156876/UCM6202-1.0.18.13-Remote-Command-Injection.html
UCM6202 1.0.18.13 Remote Command Injection ≈ Packet StormExploit;Third Party Advisory;VDB Entry
-
http://packetstormsecurity.com/files/165708/Grandstream-UCM62xx-IP-PBX-sendPasswordEmail-Remote-Code-Execution.html
Grandstream UCM62xx IP PBX sendPasswordEmail Remote Code Execution ≈ Packet StormExploit;Third Party Advisory;VDB Entry
Products affected by CVE-2020-5722
- cpe:2.3:o:grandstream:ucm6200_firmware:*:*:*:*:*:*:*:*