Bug 1476702 (CVE-2017-11747)

Summary: CVE-2017-11747 tinyproxy: Creating PID file after privileges dropping allows local DoS
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: axel.delahaye, jeremy, madam
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:19:19 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: 1476703, 1476704    
Bug Blocks:    

Description Adam Mariš 2017-07-31 08:54:50 UTC
main.c in Tinyproxy 1.8.4 and earlier creates a /run/tinyproxy/tinyproxy.pid file after dropping privileges to a non-root account, which might allow local users to kill arbitrary processes by leveraging access to this non-root account for tinyproxy.pid modification before a root script executes a "kill `cat /run/tinyproxy/tinyproxy.pid`" command.

Upstream bug:

https://github.com/tinyproxy/tinyproxy/issues/106

Comment 1 Adam Mariš 2017-07-31 08:55:39 UTC
Created tinyproxy tracking bugs for this issue:

Affects: epel-all [bug 1476704]
Affects: fedora-all [bug 1476703]

Comment 2 Michael Adam 2017-11-16 09:33:53 UTC
Upstream patch: https://github.com/tinyproxy/tinyproxy/pull/120

Comment 3 Product Security DevOps Team 2019-06-08 03:19:19 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.