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

SecurityTracker
Archives


 


Category:   Application (Generic)  >   Nagios Vendors:   nagios.org
(Red Hat Issues Fix) Nagios Command Injection Flaw in RSS Feed Reader Component Lets Remote Users Execute Arbitrary Code on the Target System
SecurityTracker Alert ID:  1037747
SecurityTracker URL:  http://securitytracker.com/id/1037747
CVE Reference:   CVE-2016-9565   (Links to External Site)
Date:  Jan 31 2017
Impact:   Execution of arbitrary code via network, Modification of system information, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  Exploit Included:  Yes  
Version(s): prior to 4.2.2
Description:   A vulnerability was reported in Nagios. A remote user can execute arbitrary code on the target system.

A remote user that can impersonate an RSS feed server can return specially crafted data to exploit an input validation flaw in the RSS feed reader component and inject parameters to a curl command executed by the feed reader component. As a result, the remote user can write files to the target system and cause the files to be executed by the target Nagios service.

The original advisory and a demonstration exploit is available at:

https://legalhackers.com/advisories/Nagios-Exploit-Command-Injection-CVE-2016-9565-2008-4796.html

Dawid Golunski (@dawid_golunski) reported this vulnerability.

Impact:   A remote user can write files to and execute arbitrary code on the target system.
Solution:   Red Hat has issued a fix.

The Red Hat advisory is available at:

https://rhn.redhat.com/errata/RHSA-2017-0211.html

Vendor URL:  rhn.redhat.com/errata/RHSA-2017-0211.html (Links to External Site)
Cause:   Input validation error
Underlying OS:  Linux (Red Hat Enterprise)
Underlying OS Comments:  7

Message History:   This archive entry is a follow-up to the message listed below.
Dec 17 2016 Nagios Command Injection Flaw in RSS Feed Reader Component Lets Remote Users Execute Arbitrary Code on the Target System



 Source Message Contents

Subject:  [RHSA-2017:0211-01] Important: nagios security update

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

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

Synopsis:          Important: nagios security update
Advisory ID:       RHSA-2017:0211-01
Product:           Red Hat Enterprise Linux OpenStack Platform
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2017-0211.html
Issue date:        2017-01-31
CVE Names:         CVE-2008-7313 CVE-2014-5008 CVE-2014-5009 
                   CVE-2016-9565 CVE-2016-9566 
=====================================================================

1. Summary:

An update for nagios is now available for Red Hat Enterprise Linux
OpenStack Platform 5.0 (Icehouse) for RHEL 7.

Red Hat Product Security has rated this update as having a security impact
of Important. A Common Vulnerability Scoring System (CVSS) base score,
which gives a detailed severity rating, is available for each vulnerability
from the CVE link(s) in the References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux OpenStack Platform 5.0 (Icehouse) for RHEL 7 - x86_64

3. Description:

Nagios is a program that monitors hosts and services on your network, and
has the ability to send email or page alerts when a problem arises or is
resolved. Nagios is written in C and designed to run under Linux (and some
other *NIX variants) as a background process, intermittently running checks
on various services that you specify. The actual service checks are
performed by separate "plugin" programs which return the status of the
checks to Nagios. Nagios plugins are available at
http://sourceforge.net/projects/nagiosplug. This package provides the core
program, web interface, and documentation files for Nagios. Development
files are built as a separate package.

Security Fix(es):

* Various command-execution flaws were found in the Snoopy library included
with Nagios. These flaws allowed remote attackers to execute arbitrary
commands by manipulating Nagios HTTP headers. (CVE-2008-7313,
CVE-2014-5008, CVE-2014-5009)

* It was found that an attacker who could control the content of an RSS
feed could execute code remotely using the Nagios web interface. This flaw
could be used to gain access to the remote system and in some scenarios
control over the system. (CVE-2016-9565)

* A privileges flaw was found in Nagios where log files were unsafely
handled. An attacker who could control Nagios logging configuration
('nagios' user/group) could exploit the flaw to elevate their access to
that of a privileged user. (CVE-2016-9566)

Red Hat would like to thank Dawid Golunski for reporting CVE-2016-9565 and
CVE-2016-9566.

4. Solution:

For details on how to apply this update, which includes the changes
described in this advisory, refer to:

https://access.redhat.com/articles/11258

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

1121497 - CVE-2008-7313 CVE-2014-5008 CVE-2014-5009 snoopy: incomplete fixes for command execution flaws
1402869 - CVE-2016-9566 nagios: Privilege escalation issue
1405363 - CVE-2016-9565 nagios: Command injection via curl in MagpieRSS

6. Package List:

Red Hat Enterprise Linux OpenStack Platform 5.0 (Icehouse) for RHEL 7:

Source:
nagios-3.5.1-9.el7.src.rpm

x86_64:
nagios-3.5.1-9.el7.x86_64.rpm
nagios-common-3.5.1-9.el7.x86_64.rpm
nagios-debuginfo-3.5.1-9.el7.x86_64.rpm
nagios-devel-3.5.1-9.el7.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://access.redhat.com/security/team/key/

7. References:

https://access.redhat.com/security/cve/CVE-2008-7313
https://access.redhat.com/security/cve/CVE-2014-5008
https://access.redhat.com/security/cve/CVE-2014-5009
https://access.redhat.com/security/cve/CVE-2016-9565
https://access.redhat.com/security/cve/CVE-2016-9566
https://access.redhat.com/security/updates/classification/#important

8. Contact:

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

Copyright 2017 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iD8DBQFYkCaoXlSAg2UNWIIRAq8KAJsHrOnn4/glzj1nYvnqIA3HTAz5QwCfSOVl
geIsP+dy9flRZ4Wj2t9856I=
=Ym4o
-----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