[GH-ISSUE #318] firejail is losing shell special characters in args #220

Closed
opened 2026-05-05 05:20:54 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @dionorgua on GitHub (Feb 23, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/318

Imagine that we've firefox that can be invoked like:
firefox "http://example.com/test?a=b&c=d"
Now we decided to isolate it:
firefox --join=firefox -- firefox "http://example.com/test?a=b&c=d"
This will open url without c=d parameter.

And even worse. If user puts 'firejail' wrapper
This opens a way to execute some shell commands in jail like:
"http://example.com/test?a=b&ls -la /"

Originally created by @dionorgua on GitHub (Feb 23, 2016). Original GitHub issue: https://github.com/netblue30/firejail/issues/318 Imagine that we've firefox that can be invoked like: `firefox "http://example.com/test?a=b&c=d"` Now we decided to isolate it: `firefox --join=firefox -- firefox "http://example.com/test?a=b&c=d"` This will open url without c=d parameter. And even worse. If user puts 'firejail' wrapper This opens a way to execute some shell commands in jail like: "http://example.com/test?a=b&ls -la /"
gitea-mirror 2026-05-05 05:20:54 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@netblue30 commented on GitHub (Feb 24, 2016):

Yes, there seem to be a problem with --join command. I'll bring a fix in. Thanks.

<!-- gh-comment-id:188252536 --> @netblue30 commented on GitHub (Feb 24, 2016): Yes, there seem to be a problem with --join command. I'll bring a fix in. Thanks.
Author
Owner

@netblue30 commented on GitHub (Jun 28, 2016):

Fixed! Give it a try and I'll reopen the bug if necessary.

<!-- gh-comment-id:229117885 --> @netblue30 commented on GitHub (Jun 28, 2016): Fixed! Give it a try and I'll reopen the bug if necessary.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#220
No description provided.