News for hackers. Stuff that matters.
Re:Button Stealer by resonious on Tuesday July 23, 2024 @05:54AM (#41044348)
It seems crazy that extensions don't have a permission for making network requests. Getting permission to access the DOM on all pages I visit is fine if there's no way to exfiltrate!
Re:Button Stealer by emadda on Tuesday July 23, 2024 @08:07AM (#41045119)
Or also a permission to disable automatic updates to reduce the issue of “popular extension sold to malware corp”.
Re:Button Stealer by robryk on Tuesday July 23, 2024 @06:13AM (#41044440)
You can always exfiltrate by inserting stuff into the page's DOM that will do the exfil from the page's context.
Re:Button Stealer by aembleton on Tuesday July 23, 2024 @06:55AM (#41044673)
Should have a seperate permission to modify the DOM. This extension only needs to read the DOM.
Re:Button Stealer by teruakohatu on Tuesday July 23, 2024 @11:35AM (#41047121)
Yes, a network access and DOM write permission should be one and the same. I think the reason it isn't done is because there are so many ways to leak data over a network. If the extension can trigger a DNS lookup somehow, it can exfiltrate data.

Android used to have a network permission but Google removed it.

Re:Button Stealer by beeboobaa3 on Tuesday July 23, 2024 @02:18PM (#41049126)
> Android used to have a network permission but Google removed it.

That's because google is in the ads business and wants apps to always be able to exfiltrate data to google (google analytics, google ads, etc) & display ads without needing additional permissions.

Having a network permission means there is an incentive for apps to not have the network permission which means they can't load ads. And Google wants you to look at their ads.

Re:Button Stealer by gtsteve on Tuesday July 23, 2024 @09:27AM (#41045807)
I would hope that high value target sites such as banks would implement CSPs to prevent that or make it more difficult though.
Re:Button Stealer by pigeonhole123 on Tuesday July 23, 2024 @09:57AM (#41046092)
You can save the data and exfiltrate through a site without CSP
Re:Button Stealer by pastage on Tuesday July 23, 2024 @02:24PM (#41049197)
I block all external resources on my pages, but sure it works well in most places! It think the default policy should be block on most pages.