3 ms·
"We discovered a Local Privilege Escalation (from any user to root) in polkit`s pkexec, a SUID-root program that is installed by default on every major Linux di
by 1vuio0pswjnm7 5y ago
"We discovered a Local Privilege Escalation (from any user to root) in polkit`s pkexec, a SUID-root program that is installed by default on every major Linux distribution:"
I use Linux but do not use a graphics system (X11, Wayland, etc.). When I install, I always start by downloading a rootfs or a bootable image containing a rootfs.
For example, if installing Debian, I might start by downloading boot.img.gz
https://deb.debian.org/debian/dists/bullseye/main/installer-amd64/current/images/hd-media/boot.img.gz https://deb.debian.org/debian/dists/bullseye/main/installer-...
However I do not see pkexec "installed by default" in initrd or initrdg.
gzip -d boot.img.gz
mount -o loop boot.img /mnt/img
gzip -d /mnt/img/initrd.gz
cpio -t < /mnt/img/initrd|grep pkexec
gzip -dc /mnt/img/initrdg.gz|cpio -t|grep pkexec
It appears that to install pkexec I would have to choose it at a later stage.
I guess the authors are referring to some other installation method. Perhaps one that denies the user the chance to skip installing a graphics system.
- kevin_b_er 5y agoThe temporary initial RAM filesystem? You are describing the thing that is loaded and run to load the Debian installation data and install Debian. One could argue the thing you are running is not "Debian", but Debian's installer tool.
- 1vuio0pswjnm7 5y agoThat would be an interesting argument. It is a bootloader (syslinux), the Linux kernel and an extensive userland, including dpkg and full set of root certificates. TBH, that is almost everything I need. I install a handful of additional programs, some static binaries compiled from personal source code archives, some programs from the Debian repositories, and I am good to go. Perhaps it would come down to what exactly in the userland defines Debian as Debian. There are certainly differences in the rootfs as I go from one distribution to another. It would be like arguing that NetBSD install media is not NetBSD. For me, it is absolutely NetBSD, just a smaller version.