Re:Firejail: Linux namespaces and seccomp-bpf sandbox
by tedunangst on Sunday March 27, 2022 @01:36PM
(#30822179)
I think the assumption is that the user, outside the jail, is already trusted. (You're running this on your personal laptop, etc.) Therefore it "doesn't matter" if they can abuse firejail to get root, they already have that ability. (Not an endorsement.)
[ Parent
| on HN ]
Re:Firejail: Linux namespaces and seccomp-bpf sandbox
by tome on Sunday March 27, 2022 @01:50PM
(#30822310)
I see, so the system gains strength against untrusted code (Zoom client, Javascript in the browser, etc.) at the cost of losing strength against the local user. If so then the benefit is really balanced on a knife edge! If the sandboxing is not implemented, or fails, then the untrusted code can run with root privileges!
Re:Firejail: Linux namespaces and seccomp-bpf sandbox
by folmar on Sunday March 27, 2022 @02:28PM
(#30822699)
For typical single user with DE it's not that much tipped-once you can write to real $HOME you easily go to have root through replacing sudo password dialog or similar. Most desktop-targeted distributions drift towards the console user having a lot of privileges already (but not directly root access).
Re:Firejail: Linux namespaces and seccomp-bpf sandbox
by goodpoint on Sunday March 27, 2022 @02:52PM
(#30822935)
This is the case for most desktop users. All the valuable data is in the user account.
If the user account is compromised all valuable data (password, keys) is gone.
Gaining root is hardly useful to an attacker.
Re:Firejail: Linux namespaces and seccomp-bpf sandbox
by johnisgood on Sunday March 27, 2022 @03:23PM
(#30823186)
Firejail offers private home (i.e. not your actual), and disallows running executables within, etc.