SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Generic)  >   Nagios Vendors:   nagios.org
(Red Hat Issues Fix) Nagios Input Validation Flaw in 'statuswml.cgi' Lets Remote Users Execute Arbitrary Commands
SecurityTracker Alert ID:  1022504
SecurityTracker URL:  http://securitytracker.com/id/1022504
CVE Reference:   CVE-2009-2288   (Links to External Site)
Date:  Jul 3 2009
Impact:   Execution of arbitrary code via network, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): prior to 3.1.1
Description:   A vulnerability was reported in Nagios. A remote user can execute arbitrary commands on the target system.

A remote user can send specially crafted data to the 'statuswml.cgi' script to execute arbitrary commands on the target system. The code will run with the privileges of the target web service.

A demonstration exploit URL is provided:

https://[target]/nagios/cgi-bin/statuswml.cgi?ping=173.45.235.65%3Becho+%24PATH

Paul reported this vulnerability.

Impact:   A remote user can execute arbitrary commands on the target system.
Solution:   Red Hat has released a fix.

The Red Hat advisory is available at:

https://rhn.redhat.com/errata/RHSA-2009-1141.html

Vendor URL:  www.nagios.org/ (Links to External Site)
Cause:   Input validation error
Underlying OS:  Linux (Red Hat Enterprise)
Underlying OS Comments:  5

Message History:   This archive entry is a follow-up to the message listed below.
Jul 3 2009 Nagios Input Validation Flaw in 'statuswml.cgi' Lets Remote Users Execute Arbitrary Commands



 Source Message Contents

Subject:  [RHSA-2009:1141-01] Important: nagios security update


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=====================================================================
                   Red Hat Security Advisory

Synopsis:          Important: nagios security update
Advisory ID:       RHSA-2009:1141-01
Product:           Red Hat HPC Solution
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2009-1141.html
Issue date:        2009-07-02
CVE Names:         CVE-2009-2288 
=====================================================================

1. Summary:

Updated nagios packages that fix one security issue are now available for
the Red Hat HPC Solution.

This update has been rated as having important security impact by the Red
Hat Security Response Team.

2. Relevant releases/architectures:

Red Hat HPC Solution for RHEL 5 Server - x86_64

3. Description:

Nagios is a program that can monitor hosts and services on your network. It
can send email or page alerts when problems arise and when problems are
resolved.

A shell command injection flaw was discovered in the statuswml.cgi CGI
script used by Nagios. A remote attacker able to access Nagios web pages
could use this flaw to run arbitrary commands with the privileges of the
web server user (apache). (CVE-2009-2288)

Note: Successful authentication is required to access Nagios web pages. In
the Red Hat HPC Solution, configuration for Nagios is provided by the
kusu-nagios-config package, which creates a user with a fixed, default
password during installation. It is recommended to change this default
password, or restrict access to Nagios web pages based on a client's IP
address as is appropriate for your environment.

Users of nagios should upgrade to these updated packages, which contain a
backported patch to correct this issue.

4. Solution:

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.

This update is available via Red Hat Network.  Details on how to use
the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/docs/DOC-11259

5. Bugs fixed (http://bugzilla.redhat.com/):

508646 - CVE-2009-2288 nagios: remote code execution via statuswml.cgi CGI script

6. Package List:

Red Hat HPC Solution for RHEL 5 Server:

Source:
nagios-2.12-3.el5.src.rpm

x86_64:
nagios-2.12-3.el5.x86_64.rpm
nagios-debuginfo-2.12-3.el5.x86_64.rpm
nagios-devel-2.12-3.el5.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and 
details on how to verify the signature are available from
https://www.redhat.com/security/team/key/#package

7. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2288
http://www.redhat.com/security/updates/classification/#important

8. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at https://www.redhat.com/security/team/contact/

Copyright 2009 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFKTRjuXlSAg2UNWIIRAt64AJoDSB+LOL5JmSqEaX/g+IyeKsg4jgCfZsfX
TTofY4c26okDZU99B2u+3Ao=
=E6Lj
-----END PGP SIGNATURE-----


--
RHSA-announce mailing list
RHSA-announce@redhat.com
https://www.redhat.com/mailman/listinfo/rhsa-announce

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2019, SecurityGlobal.net LLC