aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAge
* various x11 xorg enhancementsLibravatar smitsohu2020-08-17
| | | | | | | | | | | | 1) copy xauth binary into the sandbox and set mode to 0711, so it runs with cleared dumpable flag for unprivileged users 2) run xauth in an sbox sandbox 3) generate Xauthority file in runtime directory instead of /tmp; this way xauth is able to connect to the X11 socket even if the abstract socket doesn't exist, for example because a new network namespace was instantiated
* firejail: don't pass command line through shell when redirecting outputLibravatar Reiner Herrmann2020-08-06
| | | | | | | | | | | | | | | | | When redirecting output via --output or --output-stderr, firejail was concatenating all command line arguments into a single string that was passed to a shell. As the arguments were no longer escaped, the shell was able to interpret them. Someone who has control over the command line arguments of the sandboxed application could use this to run arbitrary other commands. Instead of passing it through a shell for piping the output to ftee, the pipeline is now manually created and the processes are executed directly. Fixes: CVE-2020-17368 Reported-by: Tim Starling <tstarling@wikimedia.org>
* firejail: don't interpret output arguments after end-of-options tagLibravatar Reiner Herrmann2020-08-06
| | | | | | | | | | | Firejail was parsing --output and --output-stderr options even after the end-of-options separator ("--"), which would allow someone who has control over command line options of the sandboxed application, to write data to a specified file. Fixes: CVE-2020-17367 Reported-by: Tim Starling <tstarling@wikimedia.org>
* Support to ingore a include foobar.incLibravatar rusty-snake2020-08-04
| | | | closes #1139
* Add profile for otter-browser (#3564)Libravatar kortewegdevries2020-08-04
| | | | | | | * Add profile for otter-browser Initial * private-bin,sorting
* don't run with closed standard streamsLibravatar smitsohu2020-08-03
| | | | | | Ensure that all standard streams are open and we don't inadvertently print to files opened for a different reason; in general we can expect glibc to take care of this, but it doesn't cover the case where a sandbox is started by root. The added code also serves as a fallback. Unrelated: For what it's worth, shift umask call closer to main start, so it runs before lowering privileges and before anything can really go wrong.
* Added git-cola profile (#3560)Libravatar kortewegdevries2020-07-30
| | | | | | | | | | | * Added git-cola profile Initial * Edit private-etc Add alternatives,pki * Add disable-xdg
* Add vmware profile #3526Libravatar Neo000012020-07-30
|
* new profile: gnome-calendarLibravatar rusty-snake2020-07-30
|
* add profile for sushi (#3558)Libravatar rusty-snake2020-07-30
|
* Added lyx profile (#3556)Libravatar kortewegdevries2020-07-30
| | | | | | | | | * Added lyx profile Initial * Rmoved whitelists Make home directory more accessible
* Added minitube profile (#3555)Libravatar kortewegdevries2020-07-30
| | | | | | | | | * Added minitube profile Initial * Second Removed no3d,added novideo
* Added Nuclear profile (#3553)Libravatar kortewegdevries2020-07-30
| | | Initial
* Added mtpaint profile (#3550)Libravatar kortewegdevries2020-07-30
| | | | | | | | | * Added mtpaint profile Initial * Second Remove IPC-namespace,netfilter
* initial /home cleaning: fail gently if home directory is a FUSE mountLibravatar smitsohu2020-07-29
|
* Merge pull request #3521 from smitsohu/join2Libravatar smitsohu2020-07-29
|\ | | | | integrate join(-or-start) with dbus options (partial fix)
| * integrate join(-or-start) with dbus optionsLibravatar smitsohu2020-07-18
| | | | | | | | | | update D-Bus environment variables during join, so that a joining process is able to use D-Bus, too
* | Added minecraft-launcher profile (#3538)Libravatar kortewegdevries2020-07-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added minecraft-launcher-profile Initial * Changed minecraft-launcher profile Added space,tracelog,nodvd * Third Fixed private-etc,added notes about path,java * Sorting
* | Merge pull request #3547 from kortewegdevries/mtpaintLibravatar rusty-snake2020-07-26
|\ \ | | | | | | Added xfce4-screenshooter profile
| * | Added xfce4-screenshooter profileLibravatar kortewegdevries2020-07-25
| | | | | | | | | | | | Initial,removed common blaclist,add netfilter,private-etc
* | | Merge pull request #3502 from awelzel/ignore-sigttou-during-stdin-flushLibravatar smitsohu2020-07-25
|\ \ \ | |/ / |/| | Ignore SIGTTOU during flush_stdin()
| * | Ignore SIGTTOU during flush_stdin()Libravatar Arne Welzel2020-07-08
| | | | | | | | | | | | fixes #3500
* | | add newsflash profileLibravatar rusty-snake2020-07-25
| | |
* | | Added freetube profile (#3535)Libravatar kortewegdevries2020-07-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added freetube profile Initial * Added freetube profile Second:drop ignore seccomp,add disable-shell See https://github.com/netblue30/firejail/pull/3535
* | | Added cawbird profile (#3533)Libravatar kortewegdevries2020-07-23
| | | | | | | | | | | | | | | | | | * Added cawbird profile See https://github.com/netblue30/firejail/pull/3533 Squash commits for merging
* | | Merge pull request #3520 from onovy/mattermost-profileLibravatar rusty-snake2020-07-21
|\ \ \ | | | | | | | | Add Mattermost desktop profile
| * | | Add Mattermost desktop profileLibravatar Ondřej Nový2020-07-20
| | |/ | |/|
* | | New profile for homebank (#3525)Libravatar kortewegdevries2020-07-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add files via upload New profile for homebank * Update etc/profile-a-l/homebank.profile Co-authored-by: rusty-snake <41237666+rusty-snake@users.noreply.github.com> * Update etc/profile-a-l/homebank.profile Co-authored-by: rusty-snake <41237666+rusty-snake@users.noreply.github.com> * Update homebank.profile * Update firecfg.config homebank added * Update disable-programs.inc Added blacklist. * Update homebank.profile Added disable-shell,removed whitelisted docs * Update disable-programs.inc Changed sorting * Update homebank.profile Changed sorting * Added cawbird profile Initial * Revert "Added cawbird profile" This reverts commit 6b045976adf62a91882236600c55926af34b6a52. Co-authored-by: rusty-snake <41237666+rusty-snake@users.noreply.github.com>
* | | remoce pandoc from firecfgLibravatar rusty-snake2020-07-19
|/ / | | | | | | | | | | | | | | | | I too saw some breaktages with programs using it. It can still be used like this: firejail pandoc -t foo bar.tex closes #3524
* | add element-desktop redirect profile (#3517)Libravatar glitsj162020-07-16
| | | | | | | | | | | | | | | | | | * Create element-desktop.profile * add element-desktop dirs to disable-programs.inc * add element-desktop to firecfg.config * Update RELNOTES
* | hardening some profiles (#3505)Libravatar rusty-snake2020-07-09
|/ | | | | | | | | | | | | * hardening some profiles - harden and fix flameshot - wruc: frogatto, ghostwriter - harden gnome-latex - add whitelist opt-in note to keepassxc - add comment to minetest - harden openarena, tremulous, xonotic - add profile for xonotic-sdl-wrapper * followup
* Fix seccomp error actionLibravatar Topi Miettinen2020-07-04
| | | | | | | 2345cc4 broke environment variable passing for seccomp error action for fseccomp. Closes #3488.
* new profile: gapplicationLibravatar rusty-snake2020-07-03
|
* minor makefile fixesLibravatar netblue302020-06-29
|
* new profilesLibravatar rusty-snake2020-06-25
|
* New profiles: apostrophe & quadrapasselLibravatar rusty-snake2020-06-11
|
* Add strawberry profile (#3459)Libravatar Amin Vakil2020-06-11
| | | | | | | | | | | | | | | | | | | | | | | * Add strawberry profile * Fix comment * Add to disable-programs.inc & firecfg.config * Add /home/amin/.local/share/strawberry to profile and disable-programs * Various hardening for strawberry profile Signed-off-by: Amin Vakil <info@aminvakil.com> * Change nodbus to dbus-system none in strawberry profile * Add dbus-user none to strawberry profile * Add whitelist-var-common, sort private-etc * Sort, Add wruc, Add netlink to protocol in strawberry profile * Remove dbus-user none to allow using gnome functions for various usage in strawberry profile
* Remove double sys/prctl.h includeLibravatar Fred Barclay2020-06-06
|
* Man pages: were missing info about .profile .local resolution (#3440)Libravatar OndrejMalek2020-06-04
| | | | | | | | | * Man pages: link to .profile resolution, urls * Man pages: firejail-profile add link to wiki profile creation * Man pages: line break, slash in path * Man pages remove space before dots
* man: minor clarifications to man pages (#3445)Libravatar Jeff Squyres2020-06-04
| | | | | | | | Add verbiage to the man pages clarifying that the files/directories in the lists given to options such as --private-bin must be relative to the directory that is being limited (e.g., --private-opt requires a list of files/directories that are relative to /opt). Signed-off-by: Jeff Squyres <jeff@squyres.com>
* firecfg: Only use fix_desktop_files automatically when run through sudo (#3382)Libravatar backspac2020-06-04
| | | | | * firecfg: Only use fix_desktop_files when --fix is specified * firecfg: Only use fix_desktop_files automatically when run through sudo
* Merge pull request #3406 from kris7t/dbus-proxyLibravatar Kristóf Marussy2020-06-01
|\ | | | | DBus filtering enhancements
| * Turn attempted DBus policy downgrade into warning (fixes #3408)Libravatar Kristóf Marussy2020-05-09
| |
| * Documentation for new DBus optionsLibravatar Kristóf Marussy2020-05-07
| |
| * Update D-Bus auditLibravatar Kristóf Marussy2020-05-07
| | | | | | | | | | | | | | | | D-Bus audit is now more in line with D-Bus filtering settings: * Checks both the DBUS_SESSION_BUS_ADDRESS and DBUS_SYSTEM_BUS_ADDRESS environment variables. * Also checks common paths for fallback sockets in /run. * Will report GOOD when D-Bus filtering is enabled.
| * Add options for D-Bus loggingLibravatar Kristóf Marussy2020-05-07
| | | | | | | | | | | | | | --dbus-user.log and --dbus-system.log instruct xdg-dbus-proxy to log interactions with the session and system buses, respectively. --dbus-log= can specify the location of the log file. If no location is specified, log output is written to stdout.
| * Add dbus-*.call and dbus-*.broadcast commandsLibravatar Kristóf Marussy2020-05-07
| | | | | | | | | | This allows setting per-member and per-object path policies for xdg-dbus-proxy.
| * Add --dbus-*.see optionsLibravatar Kristóf Marussy2020-05-07
| | | | | | | | | | | | | | The SEE policy of xdg-dbus-proxy allows clients to see objects and bus names, but not interact with them. The --call and --broadcast can allow interactions with objects that have the SEE policy set. Profile support for these proxy options will be added in a future commit.
* | new profile: mocp (#3437)Libravatar glitsj162020-05-27
| | | | | | | | | | | | | | | | | | | | | | | | | | * Create mocp.profile * add mocp support to disable-programs.inc * add mocp support in firecfg.config * update RELNOTES for mocp * fix configuration access for mocp Thanks to @rusty-snake for spotting this.
* | Add Ubuntu specific name for dinoLibravatar Karoshi422020-05-22
| | | | | | Ubuntu packages dino as dino-im