mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #733] how are unix sockets handled outside of the whitelist? #498
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#498
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @xahare on GitHub (Aug 19, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/733
can a firejailed with whitelists read from a unix socket outside its whitelists? for example, can firefox mess with /tmp/ssh-*
for now, my firefox profile looks like this. (i still call it with private, net, and x11)
@netblue30 commented on GitHub (Aug 20, 2016):
I'll have to blacklist /tmp/ssh-* in all browser profiles, thanks for the idea. If you use firejail --net=... all unix sockets are disabled.
@xahare commented on GitHub (Aug 20, 2016):
how about the top secret section of disable-common? wouldn't want the gimp in my ssh either.
@chiraag-nataraj commented on GitHub (Aug 20, 2016):
re gimp specifically: just use
net nonein the profile - there's generally no reason gimp should have internet access 😉@xahare commented on GitHub (Aug 20, 2016):
even without internet access, i dont want that gimp in my sockets ;)
@chiraag-nataraj commented on GitHub (Aug 20, 2016):
That's true, but they can't actually get anything out to the world though since gimp won't have internet access 😉
@xahare commented on GitHub (Aug 20, 2016):
... insert favorite covert channel here
for example steganography. its a matter of least access required.
so really, the gimp should have a private temp. o,r one shared by apps your using with it, like blender calling it for texture painting.
@chiraag-nataraj commented on GitHub (Aug 20, 2016):
Oh man, interesting point - I didn't realize there are people who are more paranoid than me 😄
Just as a note, though, the biggest attack vectors are your email client and your web browser. Generally speaking, people don't normally go through images to steal information - they just hack in through an ssh back-door 😉
@netblue30 commented on GitHub (Aug 20, 2016):
OK, we disable them all over the place in disable-common.inc
@netblue30 commented on GitHub (Aug 22, 2016):
I've disabled them in disable-programs.inc and modified ssh.profile.