News for hackers. Stuff that matters.
Re:EXploit X: “Give Me Root” [video] by NullPrefix on Sunday November 11, 2018 @07:47AM (#18426131)
xorg-server doesn't need suid useflag these days anymore, does it?
Re:EXploit X: “Give Me Root” [video] by acd on Sunday November 11, 2018 @12:39PM (#18427503)
The Xorg process runs as the root user unless you are using Wayland.

innovative way of using X11.

Re:EXploit X: “Give Me Root” [video] by megous on Sunday November 11, 2018 @08:26AM (#18426261)
% ls -l /bin/Xorg -rwxr-xr-x 1 root root 271 Oct 25 18:42 /bin/Xorg
Re:EXploit X: “Give Me Root” [video] by caf on Sunday November 11, 2018 @08:52AM (#18426355)
That 271 byte file is just a shell script that execs either Xorg.wrap or Xorg from the X basedir (eg /usr/lib/xorg/). One of those target files is usually setuid.

If you have Xorg.wrap, it will be the setuid file and it is usually configured to drop root before executing the real Xorg if root isn't needed (eg. KMS is available).