#VU27256 SQL injection in UCM6202 IP PBX - CVE-2020-5722
Published: April 23, 2020 / Updated: February 20, 2022
UCM6202 IP PBX
Grandstream Networks, Inc.
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.
Remediation
External links
- http://packetstormsecurity.com/files/156876/UCM6202-1.0.18.13-Remote-Command-Injection.html
- https://github.com/tenable/poc/blob/master/grandstream/ucm62xx/pbx_sploit.py
- https://www.trustwave.com/en-us/resources/security-resources/security-advisories/?fid=23920
- https://www.tenable.com/security/research/tra-2020-15