mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #855] Block access to dbus #585
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#585
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 @HulaHoopWhonix on GitHub (Oct 11, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/855
A very serious vulnerability was discovered where dbus-daemon used ipc message as format string. Subgraph's Oz sandbox say they are not affected since they block dbus access to isolated processes. I recommend you do the same if not already.
https://bugs.freedesktop.org/show_bug.cgi?id=98157
/cc @adrelanos
@chiraag-nataraj commented on GitHub (Oct 11, 2016):
Easiest ways to do so:
@netblue30 commented on GitHub (Oct 11, 2016):
In our case dbus can be disabled using a network namespace (--net) or AppAromr (--apparmor). It can also be disabled by configuring dbus to use a regular Unix socket instead of the abstract Unix socket, and blacklisting the socket inside the sandbox.
@intika commented on GitHub (Jul 29, 2018):
i am blocking dbus access to chrome just by giving it a fake dbus address
env DBUS_SESSION_BUS_ADDRESS=none firejail chrome@SkewedZeppelin commented on GitHub (Jul 29, 2018):
@intika there is a dedicated
nodbusoption available in Firejail 0.9.54 and higher. It is more effective when combined withnet noneand if availableapparmor.