SQL injection in Cachet - CVE-2021-39165

 

SQL injection in Cachet - CVE-2021-39165

Published: August 31, 2021 / Updated: March 16, 2022


Vulnerability identifier: #VU56197
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:P/U:Amber
CVE-ID: CVE-2021-39165
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: FiveAI
Affected software:
Cachet

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 in the "SearchableTrait#scopeSearch()" function. 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.


How to mitigate CVE-2021-39165

Install update from vendor's website.

Sources