Bug 1418710 (CVE-2017-2616) - CVE-2017-2616 util-linux: Sending SIGKILL to other processes with root privileges via su
Summary: CVE-2017-2616 util-linux: Sending SIGKILL to other processes with root privil...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2017-2616
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1419474 1419475 1420262 1425713 1425714
Blocks: 1386080 1418721
TreeView+ depends on / blocked
 
Reported: 2017-02-02 14:53 UTC by Adam Mariš
Modified: 2021-02-17 02:40 UTC (History)
7 users (show)

Fixed In Version: util-linux 2.32.1
Doc Type: If docs needed, set a value
Doc Text:
A race condition was found in the way su handled the management of child processes. A local authenticated attacker could use this flaw to kill other processes with root privileges under specific conditions.
Clone Of:
Environment:
Last Closed: 2017-04-12 20:12:26 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:0654 0 normal SHIPPED_LIVE Moderate: coreutils security and bug fix update 2017-03-21 12:33:06 UTC
Red Hat Product Errata RHSA-2017:0907 0 normal SHIPPED_LIVE Moderate: util-linux security and bug fix update 2017-04-12 16:25:06 UTC

Description Adam Mariš 2017-02-02 14:53:58 UTC
If su is compiled with PAM support, it is possible for any local user to send SIGKILL to other processes with root privileges. To exploit this, the user must be able to perform su with a successful login. This does NOT have to be the root user, even using su with the same id is enough, e.g. "su $(whoami)". SIGKILL can only be sent to processes which were executed after the su process. It is not possible to send SIGKILL to processes which were already running.

Upstream patch in util-linux:

https://github.com/karelzak/util-linux/commit/dffab154d29a288aa171ff50263ecc8f2e14a891

Comment 14 Dhiru Kholia 2017-02-09 07:52:21 UTC
Acknowledgments:

Name: Tobias Stöckmann

Comment 15 Dhiru Kholia 2017-02-22 08:22:34 UTC
Created shadow-utils tracking bugs for this issue:

Affects: fedora-all [bug 1425714]

Comment 16 Dhiru Kholia 2017-02-22 08:22:42 UTC
Created util-linux tracking bugs for this issue:

Affects: fedora-all [bug 1425713]

Comment 17 errata-xmlrpc 2017-03-21 10:08:47 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6

Via RHSA-2017:0654 https://rhn.redhat.com/errata/RHSA-2017-0654.html

Comment 18 errata-xmlrpc 2017-04-12 12:33:38 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2017:0907 https://access.redhat.com/errata/RHSA-2017:0907


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