Bug 1482479 (CVE-2017-12847)

Summary: CVE-2017-12847 nagios: Incorrect permissions for PID file
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: affix, apevec, athmanem, avibelli, b.heden, chrisw, cvsbot-xmlrpc, drusso, jbalunas, jjoyce, jmrazek, jose.p.oliveira.oss, jschluet, jshepherd, kbasil, lemenkov, lhh, lpeer, markmc, mmagr, ondrejj, rbryant, redhat, rrajasek, sclewis, shawn.starr, sisharma, smooge, srevivo, s, swilkerson, tdecacqu, tkirby
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: nagios 4.3.3 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-06 13:18:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1482480, 1482481    
Bug Blocks: 1482483    

Description Adam Mariš 2017-08-17 11:40:12 UTC
It was found that nagios daemon creates its PID file after dropping privileges, which allows to change its content by non-root user with PID of any other process, resulting into denial-of-service when daemon is stopped.

Upstream bug:

https://github.com/NagiosEnterprises/nagioscore/issues/404

References:

http://seclists.org/oss-sec/2017/q3/305

Comment 1 Adam Mariš 2017-08-17 11:40:49 UTC
Created nagios tracking bugs for this issue:

Affects: epel-all [bug 1482480]
Affects: fedora-all [bug 1482481]

Comment 2 Jason Shepherd 2017-08-21 02:39:59 UTC
There are no other processes within PID namespace for Nagios container in RHMAP. Closing as WONTFIX

Comment 3 Joshua Padman 2019-08-06 09:50:43 UTC
This vulnerability is out of security support scope for the following product:

 * Red Hat Mobile Application Platform

 Please refer to https://access.redhat.com/support/policy/updates/rhmap for more details

Comment 4 Product Security DevOps Team 2019-08-06 13:18:25 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2017-12847