Security vulnerabilities fixed in Firefox 72.0.1 and ESR 68.4.1
mozilla.org
mozilla.org
[1] https://twitter.com/campuscodi/status/1215020566656299011
[2] https://www.tenable.com/blog/cve-2019-11707-cve-2019-11708-m...
Edit2: never mind the old edit, lmkg has a good point about the age of the CVE.
Mozilla could have reserved CVE numbers in blocks, and still be allocating from that batch.
However, a CNA like Firefox does not allocate CVE as they need them. They first ask Mitre for a block of X CVE to use as they need. They probably got a new block in September.
javascript.options.baselinejit
javascript.options.ion
I cannot 100% confirm this as I haven't found a PoC in the wild yet, however.
I.e. these settings will kill all JITs (so the highest 2-3 tiers) and leave the two interpreters.
[1] https://hacks.mozilla.org/2019/08/the-baseline-interpreter-a...
(e.g. Canonical seems to still be on firefox 71 via standard ppa)
Well, for starters: Alpine's ESR appears to be on 68.3.0esr.
Is there perhaps a better way to run Firefox in a Docker container?
You could always build your container from a glibc distro and then just download and use the official binaries from Mozilla.
Anyway, the problem alluded to is probably X11. Any GUI application will be able to do things like sniffing your keyboard and clipboard data.
It's hard to do right (but of course isn't reason to not run untrusted applications with low privileges) and one of the things Wayland set out to improve.
x11docker provides tooling: https://github.com/mviereck/x11docker
Heck, Qubes OS https://www.qubes-os.org/ even runs GUI apps from separate Xen VMs.
EDIT: also, https://wiki.archlinux.org/index.php/Firejail#Firejail_with_...
We do that both for Chrome and Firefox.
git clone https://github.com/inetknght/docker-firefox
cd docker-firefox
docker build --tag inetknght-firefox:latest $(pwd)
docker run --rm -ti -v /tmp/.X11-unix:/tmp/.X11-unix --user $(id -u):$(id -g) inetknght-firefox:latest
Remember though that forwarding your X11 session is basically handing over keys to the kingdom. If something breaks out of the javascript sandbox and utilizes the exposed X11 socket it'll be as if it wasn't inside of a container anyway. On the other hand, that would be a problem anyway outside of a container so I don't see any increased risk compared to running Firefox directly on the host.I do this to reset Firefox settings on every startup of the container and to have a consistent way for namespacing the filesystem and network (instead of using a Firefox plugin) vs doing the same for other applications too (for example, an IDE).
I really disagree with Mozilla's default settings and want to eventually configure Firefox differently. For example, I've mentioned on previous posts that I strongly disagree with Pocket. Others talk about what the new page should be; I think it should be about:blank. I also want to disable autofill. And I want to have a way to import identities into Firefox for TLS client authentication. There's a ton of other options I want to change as well. I just need to take some time to figure out how.
You can override these at the "system" level.
$ cat /etc/firefox/syspref.js
// This file can be used to configure global preferences for Firefox
// Example: Homepage
//pref("browser.startup.homepage", "http://www.weebls-stuff.com/wab/");
pref("general.smoothScroll",false);
pref("general.autoScroll",true);
pref("browser.search.suggest.enabled",false);
pref("browser.ctrlTab.recentlyUsedOrder",false);
pref("browser.startup.page", 3); //http://kb.mozillazine.org/Browser.startup.pageI am not at all interested in a host system level change because a system package can just as easily overwrite my changes there. That occurs frequently enough with other packages (eg, GNOME).
However, I think this is useful information to put into the Dockerfile and make that the system level changes. Thanks!
Yes
> Wouldn't the containerization protect you from the vulnerability?
Running javascript even in a browser is plenty enough to extract information via Spectre and Meltdown. Javascript which can escape the browser sandbox can escape a container too.
You can still manually update by hitting "About Firefox" in your menu, which will keep your settings as-is.
If you disable update via policy (which is the only way you can do it now that about:config method is removed), then going to "About Firefox" doesnt give you any options regarding updating.
Check your facts.
I could still update from 72.0.0 to 72.0.1 from the About Firefox menu item, and from the about:preferences#general page. I'm running Mac OSX Catalina.
That said, Firefox is definitely doing what they can to make users keep auto updates on. I do think there should be a way to manually update if you've disabled both auto-updates and their update checks, without requiring the user running the installer, forcing you to toggle one of those settings off again.
Also, are there seriously people running FF with updates disabled? I personally see almost no scenario under which I'd ever not want to update.
Not sure how that conflict is resolved
OP in this thread seems to be using that installer with automatic updates, and then disabling it by hand, since when updating via a package manager you don't run into this issue.
It does if you download it directly from Mozilla.
If you disable update via policy (which is the only way you can do it now that about:config method is removed), then going to "About Firefox" doesnt give you any options regarding updating.
Check your facts.
Maybe that's true only for non-ESR versions?