Home    |    View Topics    |    Search    |    Contact Us    |   



Category:   Application (Generic)  >   Nagios Vendors:
(Red Hat Issues Fix) Nagios 'nagios.log' File Permissions Error Lets Local Users Obtain Root Privileges
SecurityTracker Alert ID:  1037789
SecurityTracker URL:
CVE Reference:   CVE-2016-9566   (Links to External Site)
Date:  Feb 7 2017
Impact:   Modification of system information, Root access via local system
Fix Available:  Yes  Vendor Confirmed:  Yes  Exploit Included:  Yes  
Version(s): prior to 4.2.4
Description:   A vulnerability was reported in Nagios. A local user can obtain root privileges on the target system.

The software does not drop root privileges before opening the '/usr/local/nagios/var/nagios.log' file for writing. A local user with 'nagios' user or 'nagios' group privileges can create a symbolic link (symlink) from a critical file on the target system to the log file to cause the symlinked file to be created with root privileges.

The original advisory and a demonstration exploit is available at:

Dawid Golunski reported this vulnerability.

Impact:   A local user can obtain root privileges 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:   Access control 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 'nagios.log' File Permissions Error Lets Local Users Obtain Root Privileges

 Source Message Contents

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

Hash: SHA1

                   Red Hat Security Advisory

Synopsis:          Important: nagios security update
Advisory ID:       RHSA-2017:0258-01
Product:           Red Hat Gluster Storage
Advisory URL:
Issue date:        2017-02-07
CVE Names:         CVE-2016-9565 CVE-2016-9566 

1. Summary:

An update for nagios is now available for Red Hat Gluster Storage 3.1 for

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 Gluster Storage Nagios 3.1 on RHEL-7 - x86_64
Red Hat Gluster Storage Server 3.1 on 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

Security Fix(es):

* 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 privilege escalation flaw was found in the way Nagios handled log
files. An attacker able to control the Nagios logging configuration (the
'nagios' user/group) could use this flaw to elevate their privileges to
root. (CVE-2016-9566)

4. Solution:

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

5. Bugs fixed (

1402869 - CVE-2016-9566 nagios: Privilege escalation issue
1405363 - CVE-2016-9565 nagios: Command injection via curl in MagpieRSS

6. Package List:

Red Hat Gluster Storage Nagios 3.1 on RHEL-7:



Red Hat Gluster Storage Server 3.1 on 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