SQL injection in UCM6202 IP PBX - CVE-2020-5722

 

SQL injection in UCM6202 IP PBX - CVE-2020-5722

Published: April 23, 2020 / Updated: February 20, 2022


Vulnerability identifier: #VU27256
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/U:Amber
CVE-ID: CVE-2020-5722
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild
Vendor: Grandstream Networks, Inc.
Affected software:
UCM6202 IP PBX

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary SQL queries in database.

The vulnerability exists due to insufficient sanitization of user-supplied data within a "Forgot Password" feature. A remote attacker can send a specially crafted HTTP request to the affected application and execute arbitrary SQL commands within the application database.

Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.

Note: This vulnerability allows a remote attacker 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. 


How to mitigate CVE-2020-5722

Install update from vendor's website.

Sources