Bonum Certa Men Certa

Tor Browser Fails to Disable Dangerous Google Formats

posted by Roy Schestowitz on Oct 07, 2023

Software Update

Reprinted with permission from Ryan Farmer.

Tor Browser Enables WebP and AVIF by Default, In All Safety Modes.

Tor Browser is based on Mozilla Firefox, and as such inherits almost all of the same vulnerabilities, especially in the default Safety Slider mode, where nearly everything from Mozilla Firefox that can be used to attack your computer is enabled by default.

This mode is only appropriate to browse the Web if your safety isn’t really that important, and in which case, the only reason to use Tor Browser at all would be a censorship firewall or something.

When you turn the Safety Slider to Safer or Safest, it starts de-activating active content, such as certain fonts, video codecs, JavaScript, and WASMs.

However, even on the Safest setting, where almost all of this is disabled and you can pretty much only view static sites, such as the ones that people are _supposed_ to put on the deep and dark Web, Google’s WebP and AVIF image formats are still enabled.

As we saw about a month ago where all major browsers had the exact same zero-click-get-pwned bug and it turned out that the libwebp code is overly complex to the point of being nearly impossible to properly debug, and uniformly implements the same defects due to Google’s “throw code over the wall and fail to properly document how you would make a new implementation if you wanted to (a force of habit), and the stupid library being in all sorts of things that will take months or years to get patched, if they ever all do, we saw what a big mess the proliferation of substandard standards can really bring about.

Fortunately, Mozilla-based browsers (Firefox, SeaMonkey, Pale Moon, Waterfox, Floorp, LibreWolf, GNU IceCat, Tor Browser, and maybe others) allow you to disable WebP and AVIF in about:config.

Just search for image.webp.enabled and image.avif.enabled and double-click both of them to “false”.

You may end up with broken images on some sites. It’s up to you whether to do this.

“And now for a really bad lip reading of LKML and some AMD and Microsoft spam, with lotsa ads. Subscribe to PREMIUM Moronix!”

“Microsoft Larabel” at “Moronix” (Phoronix) pushed out WebP for everything except his benchmarks, which are still in SVG format.

Then he also failed to write anything about the WebP disaster. Hmmm. LOL

Possibly just too busy playing with the large shipment of free processors from AMD, and writing more spam and garbage promoting Windows, while he tells you to turn off your ad blocker so he won’t starve? 😉

But I would say that having all of this attack surface around so you can see images on “Moronix” and a couple of other pointless sites is too much, so off it goes, alongside my other browser lockdowns.

Reliable sources have informed this author that WebP and AVIF are “illegal” image formats in Discord, which means that they actually did make a good technical decision there. If you upload them, it rejects them immediately and won’t show them to anyone in the room, even if you use their Electron-based “app”.

WebP and AVIF are basically an outsourcing issue.

Site owners push WebP on you to save 0.1% of some bloated Web App, and then it’s your computer that has to expend extra resources for them to save 3 KB.

Honestly, most Web images are trash, but over 99.8% of them are still JPEG, PNG, and GIF.

At this point, there’s just the occasional nasty site like Reddit or Moronix that pushes some on you, in my observation, and there are ways to provoke Reddit to always hand you a real JPEG instead of Google’s nuisance format.

WebP is an extremely unfortunate situation. You couldn’t design an image format to have zero days that are almost impossible to find better than WebP or AVIF if you tried.

My guess is, the FBI and other agencies who want to unmask Tor users or put malicious software on their machines, are almost certainly looking through these (mainly) Google codecs looking for bugs and sitting on them. That these image codecs are at least part of a chain in a watering hole attack site set up as Tor hidden services.

The browser vendors like Mozilla and Google are working hard, very hard, to make sure that you can never break the chain. (To borrow something from Fleetwood Mac.)

If they put in lousy stinking feature full of bugs “A”, then you, the user, may just flip it back off.

If they put in A, B, C, D, E, F, G, and you don’t turn any of them off, there’s all kinds of potential.

If you turn off A, D, and part of F, they can still attack you.

You need to get this thing down to the rafters and take away as much of their useful attack surface as possible.

In fact, in the case of these newer Google image formats I would say if you are using Tor and something wouldn’t load because it was a WebP, you’ve most likely stumbled into a watering hole. They can bait you in, feed this thing garbage, and as soon as the page loads, it’s too late.

To infect iPhones and Androids with Pegasus malware, all you had to do was look at an incoming text message.

“When I look at this, what the Pegasus Project has revealed is a sector where the only product are infection vectors, right? They don’t—they’re not security products. They’re not providing any kind of protection, any kind of prophylactic.”

“They don’t make vaccines. The only thing they sell is the virus.”

-Edward Snowden

Almost nobody is going to legitimately upload a WebP because nothing shoots to WebP, and almost no user has any idea what they are, unless they come across some bullshit Reddit transcode job that looks like smudgy crap. Then they’re usually posting to forums trying to figure out how to “trick” the server into sending a real JPEG, or resort to converting it back themselves.

As far as I’m concerned, probably the only reason Google threw these things on the Web is for agencies to write more attack code, as these agencies and their contractors are always hoarding more “Nobody But Us” vulnerabilities to weaponize, instead of turning them over to be fixed.

They only ever stand to benefit from complexity and bloat, even if the aim of a vendor was not malicious.

In the past, the agencies have relied on social engineering, like telling people to install Flash or Java, or to download malicious executables and run them, or malformed video files. They’ve also lured away Tor developers and paid them as consultants to tell them how to attack it.

Who needs that anymore? If Google shits something out, Mozilla gobbles it up, and the next time Tor swallows a Firefox ESR, you’ve got another “mole” in Tor Browser.

That’s really the big bonus in making these huge browsers full of redundant and ill-advised garbage and making them impossible to fix. The agencies can attack pretty much anyone at-will now, on the Web or otherwise.

This problem gets worse all the time, while security posers, like a carnival barker, tell us the issue is not bloated coding horrors, but that we need locked down computers that attack the user. It’s a misdirection.

Other Recent Techrights' Posts

Getting Rid of Microsoft Does Not Go Far Enough
Microsoft already has many problems. One day Microsoft won't exist anymore. But that does not guarantee users' freedom.
Alyssa Rosenzweig's LibrePlanet Talk About Freeing the Apple GPU
Alyssa Rosenzweig is the graphics witch behind the reverse-engineered drivers for the Apple GPU. She previously led Panfrost, the free drivers for Arm Mali GPUs powering devices like the Pinebook Pro. She graduated in 2023 with a Computer Science degree from the University of Toronto and now writes free software full-time.
Links 30/06/2024: LLMs Under Fire and Dictatorship of the Old
Links for the day
[Meme] Walking Outside the Guardrails of the Walled Gardens Built by Monopolies
So-called "advertiser-unfriendly" material was never a problem for Wikileaks
This War Crime Footage, Nothing Political Per Se, Is What They Made Julian Assange Plead Guilty To (War Criminals Not Convicted, Only Those Who Expose Them)
Wikileaks' Julian Assange: Exposing the US Military Crimes
20 Years Passed, Let's Go Even Faster Now
We are hoping to bring more original stories
Windows Lost Almost 92% Market Share in Egypt
From over 99% to just over 7%
 
Windows in Åland Islands: From 100% to Less Than Half
Åland Islands lost the sense of urgency to move to GNU/Linux
Tobias Platen Covered Freedom-To-Play Games in LibrePlanet 2024
Freedom-To-Play games using Taler
[Meme] Opening a 'Webapp' With 'Only' 4 GB of RAM
Until 2020 none of my PCs ever had more than 2 GB of RAM
Destination 'Five Percent'
We reckon GNU/Linux can break the 5% barrier some time by the end of this year, even without counting Chromebooks
A Crisis of Online Journalism
Almost a week ago a journalist was forced to plead guilty for an act of journalism
Germany One of Many Countries Where Microsoft's Bing Lost Market Share After All That LLM Nonsense (Bing Chat and Further Rebrands/Renames)
openai.com traffic plunged 60% last month
Microsoft’s Latest Antitrust Scrutiny
4 new stories
Microsoft Layoffs, Mass Plagiarism, and More
outrage included
GNU/Linux Climbed 0.25% This Month (in statCounter)
Around midday on Tuesday we'll start seeing preliminary data for July
Ilya Gulko Introduces Pollyanna
"Pollyanna is a web framework that makes it easy to create your own libre social space, such as a social network or blog."
'FSFE': Underage Labour, GAFAM Fronting, and Identity Theft to Undermine the FSF's Current Fundraiser
looking to raise funds at the same time as the FSF
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Saturday, June 29, 2024
IRC logs for Saturday, June 29, 2024
Links 29/06/2024: Astronauts at Risk, Ukraine Updates
Links for the day
Fedora and Red Hat Leftovers
mostly redhat.com
Microsoft is Now Googlebombing or Spamming 'Open Source' and 'Linux' to Promote Proprietary Surveillance, Azure
Notice the title and the image, what's being promoted etc.
Seychelles: GNU/Linux Doing OK
Seychelles cannot be considered poor
Gemini Protocol Isn't Even Remotely "Dead"
"Lupa knows of 505,000 (half a million!) working Gemini URLs at present, up from about 425,000 this time last year"
About 10 New Free Software Foundation (FSF) Members Per Day
The total changed from 46 to 47 while typing the article
Vista 11 Adoption Unusually Low in Germany and It's Going Down, Not Up
This is not happening only in Germany
Kevin Korte on Computers Being Allowed to Make Decisions Based on Cryptic Algorithms and Proprietary/Secret Data
It uses buzzwords where none are needed
[Meme] Garbage In, Garbage Out (linuxsecurity.com)
It is neither Linux nor security, just chatbot-generated slop
Microsoft-Invaded CISA Spreads Anti-Free Software FUD (as If Proprietary Software Has No Memory Safety Issues), Brittany Day Uses Chatbots to Amplify and Permutate the Microsoft FUD
linuxsecurity.com became an anti-Linux spam site
Microsoft Laying Off Staff in an Act of Retaliation and Union-Busting
retaliatory layoffs at Microsoft
Gemini Links 29/06/2024: Content Drowning in 'Goo' and LLM Slop
Links for the day
In Ecuador, GNU/Linux Adoption Surged From Under 1% to Over 4% in About 3 Years
Not even counting Chromebooks
LibrePlanet: Cultivating Backups (of Recordings)
an appeal to recover some of these talks
Microsoft/Windows Machines Are Turned Off (or Windows Deleted/Decommissioned) in Web Servers, as the "Market Share" Collapse Continues
Taking full history into account, this is a decrease of over 90% in some cases
Corwin Brust Hosting Freedom: A Behind-the-scenes Tour With the GNU Savannah Hackers
"the "smiling faces" behind it."
Android at 90% or More in Chad
Windows below 2%
David Wilson: Cultivating a Welcoming Free Software Community That Lasts
"a feeling of shared ownership for all users."
Julian Assange Might Continue Wikileaks, But Certainly Not Yet (Recovery Time Needed)
And probably at a symbolic capacity only
Bringing in 12 Santas and Taking 13 Out (Old Interview With Julian Assange)
Julian Assange's life inside the Ecuadorian embassy
Neil Plotnick on GNU/Linux in the High School Classroom
uploaded to the LibrePlanet instance of MediaGoblin
Asia Appears to be Fastest to Adopt GNU/Linux
the home of a considerable majority of the world's population
Alexandre Oliva's LibrePlanet 2024 Talk About "Software Enshittification"
in spite of technical difficulties encountered while recording
What They Used to Do With Mono They Now Do With Systemd (Lower and Deeper Down Than Userspace)
Now we have a project started primarily by Red Hat (and managed by Microsoft GitHub, which is proprietary) being managed by Microsoft and primarily serving Microsoft and IBM
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Friday, June 28, 2024
IRC logs for Friday, June 28, 2024
Links 28/06/2024: Kangaroo Courts and Patents Spam, EFF Still Fighting for CPC's TikTok (a Digital Weapon)
Links for the day
Links 28/06/2024: Overton window and Polarization
Links for the day
[Meme] In 50 Years...
Microsoft's Vista 11 will take 50 years to be fully adopted
Only About 1 in 8 Russian Windows Users is Using Vista 11
it looks like over the past 12 months Vista 11 hardly grew and it remains very low at around 12% of Windows usage in Russia
Links 28/06/2024: More Attacks on the Press, More Censorship in Russia
Links for the day
Gemini Links 28/06/2024: Christmas Prematurely, Self-hosting
Links for the day
IBM: So Long, Suckers. Your Free OS is Now Proprietary. Pay IBM or Else.
almost exactly a year after turning RHEL into proprietary software
Vista 11 is Doomed and Despite Lack of Adoption Microsoft Already Speaks of Vapourware ("12")
"Microsoft has pulled a Windows 11 update after users reported boot loops and startup failures."
ChromeOS Reaches Highest Share in Years at the World's Most Populous Nation, Windows Now at All-Time Low of 13%
We're talking about India today
[Video] "It Is Incredible That Julian Assange Survives"
There was a positive and mutual relationship between Wikileaks and Dr Jill Stein
Never Assume That Because the Law Exists the Powerful Will Follow the Law
Who's going to hold them accountable now?
Nearly a Month Has Passed and Nobody at the Debian Project Even Attempted to Explain What Seems Like Back-dooring of Debian (and Hundreds of Distros That Are Debian-Derived)
I can cynically guess that only matters when a user with a Chinese name does it
[Video] Julian Assange Explains Wikileaks' Logistics
predating indefinite detention
IBM Was Never the "Good Guy", Just a Self-Serving and Opportunistic Money- and Power-Hungry Monopolist, Living Off of Taxpayers' Money (Government Contracts)
The Nazi Party of Germany was its second-biggest client at one point and now it's looking to profit from the work of slaves
"I Hated Working at IBM. They Were the Most Unfriendly People."
Don't forget what Watson the son did to a poor woman on a plane
State of the News (and Depletion of Journalism Online, Not Just Offline)
Newspapers are not coming back and the Web is not coming back either
GNU/Linux Consolidates in North America
Android rising a lot this year, too
[Meme] More Monopolies Granted While Patent Examiners Die (Overworking for Less Compensation)
Work more; Get less
Staff Union of the EPO (SUEPO) is Taking the New Pension Scheme (NPS) to an International Tribunal (ILOAT)
SUEPO wants more EPO staff to participate in collective action
Stella Assange and the Legal Team Speak to the Media a Day After WikiLeaks Founder Julian Assange Arrives in Australia
Published yesterday by a number of mainstream publishers
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Thursday, June 27, 2024
IRC logs for Thursday, June 27, 2024
RIP Daniel Bristot de Oliveira, Red Hat death
Reprinted with permission from Daniel Pocock