mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #2287] restrict KDE sockets better #1526
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#1526
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 @smitsohu on GitHub (Dec 3, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2287
In disable-common.inc, we currently restrict kdeinit sockets like so
These lines were introduced to defend against sandbox escapes. However, there are still the KIO slave sockets, which, if I understand it right now, are also problematic (though abusing them is maybe more difficult).
So I proposed #2285 as a fix. This patch works, but not in every situation. The problem is that the slave sockets are created dynamically, and we cannot cover changes after having set up the sandbox.
Two solutions come to mind:
@smitsohu commented on GitHub (Dec 7, 2018):
pushing the changes from #2285 as a provisional fix
@smitsohu commented on GitHub (Dec 7, 2018):
provisional fix in
4292f8ab6fandc083a7b737@curiosity-seeker commented on GitHub (Dec 8, 2018):
These changes cause problems for me (on Manjaro KDE). When launching dolphin I get:
@smitsohu commented on GitHub (Dec 8, 2018):
Thanks for the feedback!
Dolphin doesn't like
nodbus, is it possible you're setting this somewhere in your profiles?You can also play with
@curiosity-seeker commented on GitHub (Dec 8, 2018):
Ah, yes - I forgot that. I've set
nodbusinglobals.local. After addingignore nodbusto
dolphin.localit works again. Sorry for the trouble!@smitsohu commented on GitHub (Dec 8, 2018):
That's no trouble :)
@smitsohu commented on GitHub (Feb 26, 2019):
closed in
94b8f2cd3bthere is still no globbing, but something simple iike
is probably enough for almost all applications