ID:5926 - Exploit for SQL injection in Nagios XI - CVE-2019-12279

 
Main Vulnerability Database Exploits ID:5926 - Exploit for SQL injection in Nagios XI - CVE-2019-12279

ID:5926 - Exploit for SQL injection in Nagios XI - CVE-2019-12279

Published: June 17, 2021


Vulnerability identifier: #VU35889
Vulnerability risk: High
CVE-ID: CVE-2019-12279
CWE-ID: CWE-89
Exploitation vector: Remote access
Vulnerable software:
Nagios XI

Link to public exploit:


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 passed via the username parameter to login.php?forgotpass (aka the reset password form). NOTE: The vendor disputes this issues as not being a vulnerability because the issue does not seem to be a legitimate SQL Injection. The POC does not show any valid injection that can be done with the variable provided, and while the username value being passed does get used in a SQL query, it is passed through SQL escaping functions when creating the call. The vendor tried re-creating the issue with no luck. 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.


Remediation

Install update from vendor's website.