(Red Hat Issues Fix) Nagios 'nagios.log' File Permissions Error Lets Local Users Obtain Root Privileges
|
SecurityTracker Alert ID: 1037787 |
SecurityTracker URL: http://securitytracker.com/id/1037787
|
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:
https://legalhackers.com/advisories/Nagios-Exploit-Root-PrivEsc-CVE-2016-9566.html
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:
https://rhn.redhat.com/errata/RHSA-2017-0259.html
|
Vendor URL: rhn.redhat.com/errata/RHSA-2017-0259.html (Links to External Site)
|
Cause:
Access control error
|
Underlying OS: Linux (Red Hat Enterprise)
|
Underlying OS Comments: 6
|
|
Message History:
This archive entry is a follow-up to the message listed below.
|
Source Message Contents
|
Subject: [RHSA-2017:0259-01] Important: nagios security update
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
=====================================================================
Red Hat Security Advisory
Synopsis: Important: nagios security update
Advisory ID: RHSA-2017:0259-01
Product: Red Hat Gluster Storage
Advisory URL: https://rhn.redhat.com/errata/RHSA-2017-0259.html
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
RHEL 6.
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-6 - x86_64
Red Hat Gluster Storage Server 3.1 on RHEL-6 - 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.
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:
https://access.redhat.com/articles/11258
5. Bugs fixed (https://bugzilla.redhat.com/):
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-6:
Source:
nagios-3.5.1-9.el6.src.rpm
x86_64:
nagios-3.5.1-9.el6.x86_64.rpm
nagios-common-3.5.1-9.el6.x86_64.rpm
nagios-debuginfo-3.5.1-9.el6.x86_64.rpm
nagios-devel-3.5.1-9.el6.x86_64.rpm
Red Hat Gluster Storage Server 3.1 on RHEL-6:
Source:
nagios-3.5.1-9.el6.src.rpm
x86_64:
nagios-3.5.1-9.el6.x86_64.rpm
nagios-common-3.5.1-9.el6.x86_64.rpm
nagios-debuginfo-3.5.1-9.el6.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-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
iD8DBQFYmbmMXlSAg2UNWIIRAqY7AKC/TrPWAlCCyAgWOHC5YiWjo2pzbgCfX6N2
QQ9Ut5mJuSitq+1iVpaja58=
=u05W
-----END PGP SIGNATURE-----
--
RHSA-announce mailing list
RHSA-announce@redhat.com
https://www.redhat.com/mailman/listinfo/rhsa-announce
|
|