Bug 1664212 (CVE-2019-6133) - CVE-2019-6133 polkit: Temporary auth hijacking via PID reuse and non-atomic fork
Summary: CVE-2019-6133 polkit: Temporary auth hijacking via PID reuse and non-atomic fork
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2019-6133
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1667310 1667311 1667312 1667777 1667778 1690802 1690803 1746059 1746060
Blocks: 1664214
TreeView+ depends on / blocked
 
Reported: 2019-01-08 04:17 UTC by Sam Fowler
Modified: 2020-04-21 00:00 UTC (History)
18 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in polkit. When authentication is performed by a non-root user to perform an administrative task, the authentication is temporarily cached in such a way that a local attacker could impersonate the authorized process, thus gaining access to elevated privileges.
Clone Of:
Environment:
Last Closed: 2019-06-10 10:44:53 UTC


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2019:0230 None None None 2019-01-31 18:19:53 UTC
Red Hat Product Errata RHSA-2019:0420 None None None 2019-02-26 16:45:57 UTC
Red Hat Product Errata RHSA-2019:0832 None None None 2019-04-23 12:57:40 UTC
Red Hat Product Errata RHSA-2019:2699 None None None 2019-09-10 13:46:44 UTC
Red Hat Product Errata RHSA-2019:2978 None None None 2019-10-08 10:00:29 UTC

Description Sam Fowler 2019-01-08 04:17:22 UTC
polkit has a vulnerability that allows a local attacker to hijack a PID during an authentication attempt by a non-root user and subsequently execute code as the authenticated process.

Upstream patch:

https://gitlab.freedesktop.org/polkit/polkit/commit/c898fdf4b1aafaa04f8ada9d73d77c8bb76e2f81
https://gitlab.freedesktop.org/polkit/polkit/merge_requests/19
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7b55851367136b1efd84d98fea81ba57a98304cf

Comment 5 Doran Moppert 2019-01-18 06:54:19 UTC
Acknowledgments:

Name: Jan Rybar (freedesktop.org)
Upstream: Jann Horn (Google Project Zero)

Comment 6 Pedro Sampaio 2019-01-18 14:08:28 UTC
External References:

https://bugs.chromium.org/p/project-zero/issues/detail?id=1692

Comment 7 Doran Moppert 2019-01-21 03:22:34 UTC
Upstream bug:

https://gitlab.freedesktop.org/polkit/polkit/issues/75

Comment 8 Doran Moppert 2019-01-21 03:27:53 UTC
Created polkit tracking bugs for this issue:

Affects: fedora-all [bug 1667777]

Comment 9 Doran Moppert 2019-01-21 03:27:59 UTC
Created polkit tracking bugs for this issue:

Affects: fedora-all [bug 1667777]

Comment 11 errata-xmlrpc 2019-01-31 18:19:52 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2019:0230 https://access.redhat.com/errata/RHSA-2019:0230

Comment 12 errata-xmlrpc 2019-02-26 16:45:55 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6

Via RHSA-2019:0420 https://access.redhat.com/errata/RHSA-2019:0420

Comment 14 errata-xmlrpc 2019-04-23 12:57:39 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6.6 Advanced Update Support

Via RHSA-2019:0832 https://access.redhat.com/errata/RHSA-2019:0832

Comment 16 errata-xmlrpc 2019-09-10 13:46:42 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7.4 Extended Update Support

Via RHSA-2019:2699 https://access.redhat.com/errata/RHSA-2019:2699

Comment 17 errata-xmlrpc 2019-10-08 10:00:27 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7.5 Extended Update Support

Via RHSA-2019:2978 https://access.redhat.com/errata/RHSA-2019:2978


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