Home    |    View Topics    |    Search    |    Contact Us    |   



Category:   Application (Generic)  >   Nagios Vendors:
(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:
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:

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:

Vendor URL: (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

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:
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 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

4. Solution:

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

5. Bugs fixed (

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:



These packages are GPG signed by Red Hat for security.  Our key and
details on how to verify the signature are available from

7. References:

8. Contact:

The Red Hat security contact is <>. More contact
details at

Copyright 2017 Red Hat, Inc.
Version: GnuPG v1


RHSA-announce mailing list

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 2021, LLC