←back to thread

466 points CoolCold | 1 comments | | HN request time: 0.21s | source
Show context
CoolCold ◴[] No.40205715[source]
Uses polkit.

run0, which behaves like sudo, but works entirely differently and is not SUID. Run0 asks the services manager to create a shell or command under the target user’s ID, creating a new PTY, sending data back and forth from the originating TTY and the new PTY.

replies(1): >>40211789 #
segasaturn ◴[] No.40211789[source]
How hard would it be to create a program to send a signal to polkit "impersonating" run0 and obtains a root shell? :)
replies(3): >>40215921 #>>40220630 #>>40234804 #
1. YtvwlD ◴[] No.40220630[source]
You'd need to be root already, so hard.