News for hackers. Stuff that matters.
Re:Chrome extensions are tampering with security headers by matheusmoreira on Tuesday May 25, 2021 @08:48PM (#27284761)
The only extensions people should install are uBlock Origin and EFF's Privacy Badger. Everything else is potential malware.
Re:Chrome extensions are tampering with security headers by Barrin92 on Tuesday May 25, 2021 @09:17PM (#27284976)
There are plenty of reasonably trustworthy extensions. The logic of "it is a cybersecurity and privacy product, therefore it is the only thing I trust" is kind of terrible. That's if anything a category of products that is full of strange software, see "antivirus" software
Re:Chrome extensions are tampering with security headers by lmkg on Tuesday May 25, 2021 @09:25PM (#27285031)
GP very much did not say to trust security and privacy products in general. They said to trust two such products in particular, which are well-established and trusted. There are prominent examples within the past few months of "privacy" extensions embedding trackers and monetizing user data.
Re:Chrome extensions are tampering with security headers by hungryfoolish on Wednesday May 26, 2021 @01:56AM (#27286883)
No, GP said to only trust these two extensions and no other extensions. While they are entitled to their opinion, IMO that is such ridiculous. There are many many extensions which provide value which don't do shady things.
Re:Chrome extensions are tampering with security headers by xmprt on Tuesday May 25, 2021 @10:08PM (#27285332)
Many antivirus products are bordering on malware these days.
Re:Chrome extensions are tampering with security headers by ttt0 on Tuesday May 25, 2021 @11:06PM (#27285742)
And all the other software is bordering on spyware.
Re:Chrome extensions are tampering with security headers by xg15 on Tuesday May 25, 2021 @09:45PM (#27285171)
I remember a not-so-long time ago that people were worried chrome would drop the extension system as a whole and therefore drop the ability of users to customise how they view web pages.

Now extensions are a "security threat". Here we go...

Re:Chrome extensions are tampering with security headers by kid-icarus on Tuesday May 25, 2021 @09:55PM (#27285247)
Yes, if an extension can override CSP directives to allow arbitrary connect-src exceptions, it effectively means that any data in any form on any page is now susceptible of having that data sent to an attacker-owned URL.

The solution doesn't necessitate removing extensions, it just means potentially constraining the API surface of extensions in order to mitigate the attack surface.

Re:Chrome extensions are tampering with security headers by postalrat on Wednesday May 26, 2021 @01:10AM (#27286622)
Extensions don't need to modify headers to view anything in the dom or make requests with the credentials of the page it's running in. The only thing it can't do is directly interact with the javascript running on the page (and vise versa).
Re:Chrome extensions are tampering with security headers by rini17 on Wednesday May 26, 2021 @07:45PM (#27297587)
This is misunderstanding. Extensions can read any data even with restrictive CSP. Malicious extension then can use other channel than the currently opened tab to exfiltrate them. There are many.

Extension users do want the extensions to interact with pages, often including cross-origin requests. That is what extensions are for and they won't work with restricting API surface.

Re:Chrome extensions are tampering with security headers by eli on Tuesday May 25, 2021 @09:51PM (#27285221)
both those things are true
Re:Chrome extensions are tampering with security headers by xg15 on Tuesday May 25, 2021 @09:55PM (#27285246)
Ok and now what?
Re:Chrome extensions are tampering with security headers by derefr on Tuesday May 25, 2021 @10:26PM (#27285453)
Is this snark meant to imply that you think that people shouldn't acknowledge a dilemma when one exists, unless they also have a solution to offer for said dilemma?

Google has nigh-on monopoly power over the browser ecosystem. Also, extensions are by-and-large malware. Making people aware that extensions are mostly malware helps Google to consolidate its monopoly; but also (obviously) helps people to avoid malware.

We don't want Google to control the Internet, and we don't want browsers to be full of malware. That's a dilemma. It has no obvious solution. But it's better to be aware of the dilemma — and so realize there is no easy solution — than to ignorantly push for one side or the other to "win."

Re:Chrome extensions are tampering with security headers by userbinator on Tuesday May 25, 2021 @10:58PM (#27285670)
At this point I'm convinced that there has to be a really strong opposition, or the Internet becomes Google's jail. We are basically seeing the dystopian side of "zero crime policies" acted out online as they slowly but surely evolve the definition of "malware" and erode away at our freedoms.

Google could be educating users to make their own responsible decisions, but it's far more profitable to keep them uninformed and feed them propaganda to maintain the paranoia that lets it monetise and take control away from them. Being ultimately an ad company, it thrives on deception.

and so realize there is no easy solution — than to ignorantly push for one side or the other to "win."

Twenty years ago, what Apple Google Microsoft do today with their software would be widely considered adware/spyware. One side has already won the battle; we can't let it win the war.

"Give me liberty or give me death," as the famous saying goes.

Re:Chrome extensions are tampering with security headers by cortesoft on Tuesday May 25, 2021 @09:13PM (#27284943)
What makes those extensions not "potentially malware"? I am assuming it is because you (or someone you trust) vetted them and decided they were trustworthy.

Why wouldn't this same idea apply to any other extension? You are right, everything is potential malware (the two extensions you mentioned included). There is nothing magical about the two extensions you mentioned.

Re:Chrome extensions are tampering with security headers by edoceo on Tuesday May 25, 2021 @09:18PM (#27284979)
UBO is good cause like the whole internet trusts Raymond Hill (gorhill).

And 1000s of eyeballs are on those works.

Re:Chrome extensions are tampering with security headers by lupire on Tuesday May 25, 2021 @09:20PM (#27285009)
Ublock Origin only exists because gorhill's original Ublock became evil due to a critical management mistake onboarding an untrustworthy parry. Everything is a risk.
Re:Chrome extensions are tampering with security headers by dankwizard on Tuesday May 25, 2021 @09:49PM (#27285200)
I'd argue it's getting counter-intuitive though, similar to the bystander effect. Yes it is popular but if everybody thinks everyone else is verifying the source, then no one is.

When is the last time you checked out the UBO Git?

Re:Chrome extensions are tampering with security headers by cortesoft on Tuesday May 25, 2021 @11:53PM (#27286089)
Sure, but the comment I relied to seemed SO sure that those were the only two legitimate extensions. My point was that there might be others that also have built up that level of trust, and to assume that you know the exact list of trustworthy extensions is putting too much confidence in your knowledge of everything.
Re:Chrome extensions are tampering with security headers by quink on Tuesday May 25, 2021 @09:10PM (#27284916)
Or extension that limit themselves their permissions to specific sites. Like SponsorBlock and Reddit Enhancement Suite.

That's actually the complete list of plugins I have, uBlock Origin, Privacy Badger, SponsorBlock and RES.

Re:Chrome extensions are tampering with security headers by ocdtrekkie on Tuesday May 25, 2021 @09:48PM (#27285186)
So much this. Every extension is an attack vector. They have post-decryption access to all of your web content and largely make the entire benefit of HTTPS moot if you have a bunch of them.

Every extension you install should be carefully vetted and only enabled as long as absolutely necessary. It's the top malware vector I see today.

Re:Chrome extensions are tampering with security headers by zo1 on Wednesday May 26, 2021 @02:21AM (#27287050)
You could say the same thing about almost anything: browsers, new root certificates, firewall software, antivirus software, anything you install on your own device, etc. Essentially, they're saying "anything you want to execute on your machine is a potential attack vector", and the only way to solve it is: "your browser is now your dumb-terminal into the mainframe (website), and we won't let you the device owner install anything that may potentially tamper with the data coming from our safe mainframe to your screen".

This is not where I want computing to go, and we're all just playing cat-and-mouse games feigning "security" when really "we" just don't trust the "plebs" to administer their own machines and keep themselves safe. This is arguably where Android is already, so one need only look there to see the future of computing and how the browser and "security" is being used as a trojan horse to get there.

Re:Chrome extensions are tampering with security headers by ocdtrekkie on Wednesday May 26, 2021 @10:31AM (#27290940)
This is an absurdist point of view.

If you go to the average non-technical user's Chrome extensions tab, they have 10-12 extensions. 7 of them are actively malicious.

This isn't like a "hey, freedom allows you the freedom to make mistakes" thing. This is a "good practice hasn't even been attempted here, and it's the top vector of all bad things ever" thing.

It's fine for browser extensions to exist, they serve a purpose. However, all existing extension stores should probably delist the entirety of their collection, solely re-accept extensions which an actual software engineer has reviewed, and make it much harder than one click to inadvertently install one when a website asks you to.

Re:Chrome extensions are tampering with security headers by xg15 on Tuesday May 25, 2021 @09:52PM (#27285228)
Is it more of an attack vector than the hundreds of unvettable third-party scripts the site usually loads itself?
Re:Chrome extensions are tampering with security headers by ocdtrekkie on Tuesday May 25, 2021 @10:09PM (#27285339)
Absolutely. Scripts compromise your activity on the site they're loaded on. Extensions compromise your activity on every single website you go to.
Re:Chrome extensions are tampering with security headers by hungryfoolish on Wednesday May 26, 2021 @02:00AM (#27286907)
If you're looking at it that way, then we should apply even more scrutiny over native apps we install on our machine and not single out extensions.

Also, not all extensions run on every single site. Also, some extensions actually help in blocking malware, crypto-trackers etc so the potential upsides are also great.

Re:Chrome extensions are tampering with security headers by jay_kyburz on Tuesday May 25, 2021 @09:59PM (#27285281)
A script loaded by a site needs to escape its sandbox. I assume an extension script is not in its own sandbox so it can read you banking details when you visit a banking website. I imagine they can read key presses so an extension can know your banking passwords.
Re:Chrome extensions are tampering with security headers by hungryfoolish on Wednesday May 26, 2021 @02:02AM (#27286915)
Which is why extensions also nowadays only served via a web store which has moderation policies and moderators which look for this kind of stuff.
Re:Chrome extensions are tampering with security headers by ocdtrekkie on Wednesday May 26, 2021 @10:29AM (#27290907)
The Chrome Web Store is functionally a malware distribution system. There's no real moderation to speak of, and the vast majority of desktop PC malware is distributed by it.
Re:Chrome extensions are tampering with security headers by fapjacks on Wednesday May 26, 2021 @10:43AM (#27291106)
Decentraleyes is also very helpful on the privacy front. It will cache commonly included libraries like jQuery from various CDNs like Cloudflare, preventing them from tracking you across the internet. ClearURLs is another one that I install on a freshly-opted-out Firefox, to avoid those ubiquitous tracking parameters in various URLs.
Re:Chrome extensions are tampering with security headers by sneak on Tuesday May 25, 2021 @09:10PM (#27284914)
You forgot Cookie Autodelete, NoScript, and HTTPS Everywhere.
Re:Chrome extensions are tampering with security headers by cortesoft on Tuesday May 25, 2021 @09:15PM (#27284957)
I think the fact that people are listing different sets of extensions they trust is good evidence that you can't just say "this list is the only list of extensions you can trust"
Re:Chrome extensions are tampering with security headers by lmkg on Tuesday May 25, 2021 @09:31PM (#27285073)
Frankly this is why I prefer a "maximalist" browser like Vivaldi (and old-school Opera) that focuses on building features into the core browser rather than supporting extensions. There are benefits to having a feature be provided directly by the browser, not the least of which is the trust model. There's a trade-off of fewer features overall and less customization, but it's a trade-off I'm personally fine with.
Re:Chrome extensions are tampering with security headers by josefx on Wednesday May 26, 2021 @01:12AM (#27286635)
Different people use different extensions. I have seen quite a few people avoid NoScript, not because they don't trust it, but because they considered manually selecting which scripts could run not worth their time.
Re:Chrome extensions are tampering with security headers by sneak on Tuesday May 25, 2021 @11:11PM (#27285777)
Outside of a small list of security extensions numbering a dozen or fewer, you can't really trust much of anything in the extension webstore.
Re:Chrome extensions are tampering with security headers by cortesoft on Tuesday May 25, 2021 @11:54PM (#27286099)
Well, this chain started with "there are exactly two extensions you can trust, no more", and now we are up to a dozen.
Re:Chrome extensions are tampering with security headers by sneak on Wednesday May 26, 2021 @03:32AM (#27287489)
0 < n < 12 < CHROME_WEB_STORE_MAX (which is >100k)
Re:Chrome extensions are tampering with security headers by iso1210 on Wednesday May 26, 2021 @06:45AM (#27288733)
So I shouldn't have my bitwarden extension?
Re:Chrome extensions are tampering with security headers by dws on Tuesday May 25, 2021 @11:38PM (#27285983)
LastPass, 1Password, ...