*** This bug is a security vulnerability *** Public security bug reported:
Ubuntu release: 24.04 LTS (noble) Package: policykit-1 124-2ubuntu1.24.04.4 CVE: CVE-2016-2568 == Request == Please review the noble status of CVE-2016-2568. The tracker shows it as "deferred" with the note "no fix available". The noble kernel already blocks the attack, so "not-affected" with a short note looks like the correct status. == What the CVE is == pkexec, when used with --user to run a program as a less privileged user, leaves that program attached to the caller's terminal. The program can use the TIOCSTI ioctl to push characters into the terminal input buffer and so run commands in the caller's session. == Why noble is not affected == Since Linux 6.2 the kernel can refuse TIOCSTI for processes without CAP_SYS_ADMIN (CONFIG_LEGACY_TIOCSTI, sysctl dev.tty.legacy_tiocsti). The noble kernel ships with this restriction on: - LP: #2046192 turned CONFIG_LEGACY_TIOCSTI off, Fix Released in linux 6.8.0-11.11. - debian.master/config/annotations in the noble kernel sets CONFIG_LEGACY_TIOCSTI to "n" on all architectures and refers to that bug. With the restriction on, the unprivileged program started by pkexec cannot inject input, which is the whole attack. Expected: noble is marked not-affected (or the note records the kernel mitigation), so the entry no longer reads as an open issue without a fix. == Other distributions == - Debian marks it fixed from polkit 123-1, for the same reason: the Debian kernel disabled TIOCSTI from 6.4.4-1. Their note: "Restricting ioctl on the kernel side seems the better approach". https://security-tracker.debian.org/tracker/CVE-2016-2568 - Red Hat closed its bug as WONTFIX and points to the kernel-side approach. https://bugzilla.redhat.com/show_bug.cgi?id=1300746 == Upstream == - There is no polkit code change for this. pkexec in polkit main has no TIOCSTI or new-terminal handling, and the upstream issue is still open: https://github.com/polkit-org/polkit/issues/160 - A system that sets dev.tty.legacy_tiocsti=1 opts back in to the old behaviour. ** Affects: policykit-1 (Ubuntu) Importance: Undecided Status: New ** Tags: noble ** CVE added: https://cve.org/CVERecord?id=CVE-2016-2568 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2175557 Title: CVE-2016-2568: noble is mitigated by the kernel TIOCSTI restriction, please review the "deferred" status To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/policykit-1/+bug/2175557/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
