TGTGInsighttelegram intelligenceLIVE / telegram public index
← Libreware
Libreware avatar

TGINSIGHT POST

Post #1405

@libreware

Libreware

Views3,000Post view count
PostedFeb 802/08/2025, 12:45 AM
Post content

Post content

Lennart Poettering intends to replace "sudo" with #systemd's run0. Here's a quick PoC to demonstrate root permission hijacking by exploiting the fact "systemd-run" (the basis of uid0/run0, the sudo replacer) creates a user owned pty for communication with the new "root" process. This isn't the only bug of course, it's not possible on Linux to read the environment of a root owned process but as systemd creates a service in the system slice, you can query D-BUS and learn sensitive information passed to the process env, such as API keys or other secrets. https://fixupx.com/hackerfantastic/status/1785495587514638559 Nitter mirror: https://xcancel.com/hackerfantastic/status/1785495587514638559