SQL injection in TuziCMS - CVE-2019-16642

 

SQL injection in TuziCMS - CVE-2019-16642

Published: September 21, 2019


Vulnerability identifier: #VU21248
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:P/U:Amber
CVE-ID: CVE-2019-16642
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: TuziCMS
Affected software:
TuziCMS

Detailed vulnerability description

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

The vulnerability exists in the App\Mobile\Controller\ZhuantiController.class.php file due to insufficient sanitization of user-supplied data passed via the id parameter to index.php/Mobile/Zhuanti/group URL. A remote attacker can send a specially crafted 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.

Exploit:

http://[host]/index.php/Mobile/Zhuanti/group?id=1%20and%20(extractvalue(1,concat(0x7e,(select%20user()),0x7e)))


How to mitigate CVE-2019-16642

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Sources