i was talking about the risk of a Flatpak which has access to user home and therefore could for example access $HOME/.firefox and steal session cookies.
Okay that makes sense.
Also I based my assessment of use FUSE2 for normal AppImages on the security hardening used by Secureblue, mentioned here under the section “Filling known security holes”
Remove the unmaintained and suid-root fuse2 by default.
kek they got it wrong. Also:
Mitigate LD_PRELOAD attacks via ujust toggle-bash-environment-lockdown.
Interesting, I wonder if they prevent executing the ld-linux.so as well.
There is two ways to preload libraries without having to modify the binary, the first is using LD_PRELOAD, the second is less well known but you can run binaries by calling the dynamic linker first (internally this is actually how all dynamic binaries you execute work btw) and then use the --preload flag to load a library.
That is instead of:
LD_PRELOAD=./kek.so /path/to/bin
you do:
/lib64/ld-linux-x86-64.so.2 --preload ./kek.so /path/to/bin
I’m going to take a wild guess and assume the second is still possible in secureblue 👀




https://github.com/pkgforge-dev/Cromite-AppImage