Hey all,
I'm running the linux-hardened kernel on Arch and am generally a very security-focused user. I'm having an issue with AppImages (Bitwarden and Tuta specifically). When I attempt to execute either AppImage, I get this error:
I'm aware I can work around the issue by using the --no-sandbox option or changing the ownership/permissions on the /tmp/.mount_AppImage/chrome-sandbox. However I'm concerned about the security implications of both of these and I don't fully understand all the moving parts.
If I run:
I get:
I believe this means unprivileged user namespaces are disabled, and to run these AppImages, they need to be enabled? Is there any way to run these without weakening the security model? The reason I'm interested in the Bitwarden AppImage is the Arch repository version of Bitwarden is typically a few versions behind. But I'd rather run that over opening up a privilege escalation vector.
Is anyone able to provide an analysis of the best way forward here? I'm aware this threat model is likely beyond my requirements, but I find it interesting. Thanks
I'm running the linux-hardened kernel on Arch and am generally a very security-focused user. I'm having an issue with AppImages (Bitwarden and Tuta specifically). When I attempt to execute either AppImage, I get this error:
Bash:
[15998:0719/151223.182709:FATAL:sandbox/linux/suid/client/setuid_sandbox_host.cc:163] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /tmp/.mount_BitwarKOal6N/chrome-sandbox is owned by root and has mode 4755.
If I run:
Bash:
zcat /proc/config.gz | grep CONFIG_USER_NS
Bash:
CONFIG_USER_NS=y
# CONFIG_USER_NS_UNPRIVILEGED is not set
I believe this means unprivileged user namespaces are disabled, and to run these AppImages, they need to be enabled? Is there any way to run these without weakening the security model? The reason I'm interested in the Bitwarden AppImage is the Arch repository version of Bitwarden is typically a few versions behind. But I'd rather run that over opening up a privilege escalation vector.
Is anyone able to provide an analysis of the best way forward here? I'm aware this threat model is likely beyond my requirements, but I find it interesting. Thanks

