Remix.run Logo
Enhancing X11 Application Security with LXC(dobrowolski.dev)
24 points by shirozuki 3 hours ago | 7 comments
mid-kid an hour ago | parent | next [-]

For an article written late last year I hoped for a little more awareness of how massive a security hole granting full, unfiltered access to the X11 server is. Granted, any sandboxing is better than none, but firefox is one of the few apps that already sandboxes itself really well, and with a blog title like that it might be good to touch upon things like nested X servers such as Xephyr.

sunshine-o an hour ago | parent | prev | next [-]

This is a great article.

I have little experience with lxc but I guess waypipe could be an option too.

calvinmorrison an hour ago | parent | prev | next [-]

Xlibre (the only current actively developed implementation of a X11 server) has a new extension - XNamespace to address some challenges as well.

https://github.com/X11Libre/xserver/blob/master/doc/Xnamespa...

Chu4eeno an hour ago | parent [-]

Not the only one, there's also a new one (written in zig) I've forgot the name of.

edit: phoenix was the name: https://github.com/external-mirrors/phoenix#phoenix

mappu 11 minutes ago | parent [-]

There's also this new one: https://github.com/joske/yserver

LtWorf an hour ago | parent | prev [-]

Or one could just use firejail, which comes with a number of pre made profiles for common applications.

nosioptar 17 minutes ago | parent [-]

The sandbox command works well on systems using SELinux.

https://docs.redhat.com/en/documentation/red_hat_enterprise_...