SQL injection in MikroTik RouterOS and BIG-IP AFM - CVE-2021-23040

 

SQL injection in MikroTik RouterOS and BIG-IP AFM - CVE-2021-23040

Published: August 25, 2021


Vulnerability identifier: #VU56089
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-23040
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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 an undisclosed page of the BIG-IP Configuration utility. A remote authenticated 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.


Affected software

MikroTik RouterOS
BIG-IP AFM

How to mitigate CVE-2021-23040

Install update from vendor's website.

BIG-IP AFM - addressed in versions 13.1.4.1, 14.1.4.2, 15.1.3, 16.0.1.2, 16.1.0

External References

Related Security Bulletins