mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #5869] google-chrome: blacklisted paths are accessible (dbus) #3114
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#3114
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 @wonbug on GitHub (Jun 26, 2023).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5869
Description
Chrome (version 114.0.5735.133) - installed via dpkg using the package provided by Google, running on Ubuntu 22.04.2 LTS and using firejail built from
master(version 0.9.73) - is not sandboxed to only access ~/Downloads and can read the entire volume content.Steps to Reproduce
Launch Chrome and open the file selector dialog.
Expected behavior
Google Chrome can only read/write ~/Downloads (and any other directories necessary for runtime)
Actual behavior
Google Chrome can see all files.
Behavior without a profile
What changed calling
LC_ALL=C firejail --noprofile /path/to/programin aterminal?
Nothing, except less stderr
Additional context
Any other detail that may help to understand/debug the problem
Environment
Ubuntu 22.04.2 LTS
firejail --version).firejail version 0.9.73
was compiled (
git rev-parse HEAD).8ccff4af04Checklist
/usr/bin/vlc) "fixes" it).https://github.com/netblue30/firejail/issues/1139)browser-allow-drm yes/browser-disable-u2f noinfirejail.configto allow DRM/U2F in browsers.--profile=PROFILENAMEto set the right profile. (Only relevant for AppImages)Log
Output of
LC_ALL=C firejail /path/to/programOutput of
LC_ALL=C firejail --debug /path/to/program... cut due to length
@kmk3 commented on GitHub (Jun 27, 2023):
It likely uses dbus / xdg-desktop-portal.
Does it still happen with
--dbus-user=none?Example:
@wonbug commented on GitHub (Jun 27, 2023):
@kmk3 yes that appears to be it. With the dbus flag, Chrome cannot see other directories in HOME besides Downloads, thank you!
@rusty-snake commented on GitHub (Jun 27, 2023):
To nitpick on the formulations for a correct FTR.
~/.config/chrome.--dbus-user=none.