Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1300746 - (CVE-2016-2568) CVE-2016-2568 polkit: Program run via pkexec as unprivileged user can escape to parent session via TIOCSTI ioctl
CVE-2016-2568 polkit: Program run via pkexec as unprivileged user can escape ...
Status: CLOSED WONTFIX
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20160119,repor...
: Security
Depends On: 1299955 1300747
Blocks: 1300748
  Show dependency treegraph
 
Reported: 2016-01-21 10:42 EST by Adam Mariš
Modified: 2018-05-04 13:26 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
It was found that pkexec was vulnerable to TIOCSTI ioctl attacks, allowing the executed program to push characters to its TTY's input buffer. While being executed as a non-privileged user, a specially crafted program could force its parent TTY to enter commands, interpreted by the shell when pkexec exits.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-03-05 07:20:10 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Adam Mariš 2016-01-21 10:42:31 EST
It was reported that when executing a program via "pkexec --user nonpriv program", the nonpriv session can escape to the parent session by using the TIOCSTI ioctl to push characters into the terminal's input buffer, allowing privilege escalation.

Original bug report (contains reproducer):

https://bugzilla.redhat.com/show_bug.cgi?id=1299955
Comment 1 Adam Mariš 2016-01-21 10:42:48 EST
Created polkit tracking bugs for this issue:

Affects: fedora-all [bug 1300747]
Comment 2 Federico Manuel Bento 2016-01-26 09:37:03 EST
I'd like to request a CVE for this issue, thanks.
Comment 3 Andrej Nemec 2016-02-26 02:53:05 EST
CVE assignment:

http://seclists.org/oss-sec/2016/q1/443
Comment 6 Cedric Buissart 2018-03-05 07:20:20 EST
Statement:

This issue affects the versions of polkit as shipped with Red Hat Enterprise Linux 6 and 7. Red Hat Product Security has rated this issue as having Moderate security impact. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
Comment 7 Cedric Buissart 2018-03-05 07:21:29 EST
Latest kernel upstream discussion for a kernel side fix: https://patchwork.kernel.org/patch/9753697/

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