Bug 1476702 (CVE-2017-11747) - CVE-2017-11747 tinyproxy: Creating PID file after privileges dropping allows local DoS
Summary: CVE-2017-11747 tinyproxy: Creating PID file after privileges dropping allows ...
Alias: CVE-2017-11747
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1476704 1476703
TreeView+ depends on / blocked
Reported: 2017-07-31 08:54 UTC by Adam Mariš
Modified: 2019-09-29 14:17 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2019-06-08 03:19:19 UTC

Attachments (Terms of Use)

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:


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.

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