Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1490858 - (CVE-2017-14312) CVE-2017-14312 nagios: Incorrect file permissions leading to possible privilege escalation
CVE-2017-14312 nagios: Incorrect file permissions leading to possible privile...
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20170830,repor...
: Security
Depends On: 1490859 1490860
Blocks: 1490867
  Show dependency treegraph
 
Reported: 2017-09-12 07:48 EDT by Adam Mariš
Modified: 2017-09-19 00:59 EDT (History)
41 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Adam Mariš 2017-09-12 07:48:45 EDT
Nagios Core through 4.3.4 initially executes /usr/sbin/nagios as root but supports configuration options in which this file is owned by a non-root account (and similarly can have nagios.cfg owned by a non-root account), which allows local users to gain privileges by leveraging access to this non-root account. 

Upstream bug:

https://github.com/NagiosEnterprises/nagioscore/issues/424
Comment 1 Adam Mariš 2017-09-12 07:49:32 EDT
Created nagios tracking bugs for this issue:

Affects: epel-all [bug 1490860]
Affects: fedora-all [bug 1490859]
Comment 2 Jason Shepherd 2017-09-19 00:58:38 EDT
In RHMAP both the /usr/sbin/nagios, and /etc/nagios/nagios.cfg  files are owned by root.

sh-4.2$ ls -la /etc/nagios/nagios.cfg 
-rwxrwxrwx. 1 root root 44259 Jun 16 00:13 /etc/nagios/nagios.cfg
sh-4.2$ ls -la /usr/sbin/nagios 
-rwxr-xr-x. 1 root root 713872 Jan 31  2017 /usr/sbin/nagios

Setting RHMAP as not affected.

Note You need to log in before you can comment on or make changes to this bug.