Major Linux PolicyKit security vulnerability uncovered: Pwnkit:
Polkit, formerly known as PolicyKit, is a systemd SUID-root program. It's installed by default in every major Linux distribution.
[...] This vulnerability is easy to exploit. And, with it, any ordinary user can gain full root privileges on a vulnerable computer by exploiting this vulnerability in its default configuration. As Qualys wrote in its brief description of the problem: "This vulnerability is an attacker's dream come true."
[...] Why is it so bad? Let us count the ways:
- Pkexec is installed by default on all major Linux distributions.
- Qualys has exploited Ubuntu, Debian, Fedora, and CentOS in their tests, and they're sure other distributions are also exploitable.
- Pkexec has been vulnerable since its creation in May 2009 (commit c8c3d83, "Add a pkexec(1) command").
- An unprivileged local user can exploit this vulnerability to get full root privileges.
- Although this vulnerability is technically a memory corruption, it is exploitable instantly and reliably in an architecture-independent way.
- And, last but not least, it's exploitable even if the polkit daemon itself is not running.
[...] While we know Linux can be attacked, Solaris and other Unix systems may also be vulnerable. We do know, however, that OpenBSD can't be attacked by exploits using this vulnerability.
Red Hat rates the PwnKit as having a Common Vulnerability Scoring System (CVSS) score of 7.8. This is high.
When used correctly, Polkit provides an organized way for non-privileged processes to communicate with privileged processes. It is also possible to use polkit to execute commands with elevated privileges using the command pkexec followed by the command intended to be executed with root permission.
(Score: 0) by Anonymous Coward on Thursday January 27 2022, @11:27PM (1 child)
You may also check gtk3-nocsd. https://gpo.zugaina.org/x11-misc/gtk3-nocsd/Dep [zugaina.org]
Also avaliable in other distros like Arch or Debian. Personally, irrespective of distro I need it for, I read Arch's wiki: lots of hints that can lead to discovering the proper solution in other distributions. In this case https://wiki.archlinux.org/title/GTK [archlinux.org] let me discover there is a newer nocsd repo https://github.com/ZaWertun/gtk3-nocsd [github.com] and a full set of patches https://github.com/lah7/gtk3-classic [github.com]
(Score: 2) by digitalaudiorock on Friday January 28 2022, @11:50AM
Yea, actually with the issue I ran into it was tripping up fluxbox even with gtk3-nocsd installed. It was an issue that's fixed in the current fluxbox master. I applied this fix which addressed the issue:
http://git.fluxbox.org/fluxbox.git/commit/?id=dcdde4d32c93d01df205bc06d7dfcbd356be031f [fluxbox.org]