HomeSecurityBrowsers with extensions? How do they steal data?

Browsers with extensions? How they steal data

Malicious websites can exploit browser extension APIs to run code within the browser and steal sensitive information, such as bookmarks, browsing history, or even users' cookies.

Of course, an attacker can use cookies to capture a user's active sessions and gain access to sensitive accounts, such as email inboxes, social media profiles, or bank accounts, etc.Browsers

Furthermore, the same extension APIs (we are always talking about extensions that browsers use) can be used to trigger the download of malicious files and to store them on the user's device. This data is stored in an extension's storage, and can later be used to track users across the web.

These types of attacks are no longer theoretical, as they were recently demonstrated in a study published by Dolière Francis Somé, a researcher from the Université Côte d'Azur and INRIA, the French research institute.

Somé developed a tool and examined over 78,000 Chrome, Firefox, and Opera extensions. It was able to identify 197 extensions that allowed the exposure of internal API communication interfaces with web applications. This can give malicious websites access to data stored in a user's browser, data that should not normally be accessible.

ChromeFirefoxOperaTotal
Extensions analyzed66,4019,3912,52378,315
Suspicious extensions3,3034832103,996
Execute code152219
Bypass SOP489663
Read cookies8––8
Read browsing history40––1
Read bookmarks371–38
Get extensions installed33––33
Store/retrieve data852390
Trigger downloads295236
Total unique extensions1711610197

The French researcher says he was surprised by the results, as only 15 (or 7.61%) of the 197 extensions were development tools, a category of extensions that usually have complete control over what happens in a browser and are among the applications that should not have security vulnerabilities.

About 55% of all extensions had fewer than 1,000 installations, but over 15% had over 10,000.

Somé said he informed browser developers of his findings before releasing the research to the public in early January.

“Everyone acknowledged the problems,” Somé says. “Firefox has removed all the extensions I mentioned to them. Opera has also removed all the extensions but there are 2 more that can be exploited to trigger downloads.”.

“Chrome has also acknowledged the issue. We are still discussing together what possible steps they should take.”

The researcher also created a tool that allows users to check whether their extensions contain vulnerable APIs that can be exploited by malicious websites. The tool is web-based and hosted on this page.

To use it, you will need to copy-paste the contents of the manifest.json file of the extension you are interested in.

Watch the videos published by the researcher

If you want to read more about Somé's work: " EmPoWeb: Empowering Web Applications with Browser Extensions," you can download it as a PDF from here and here.

_______________________

📧
Subscribe to the SecNews Newsletter

The most important Security & Technology news in your Inbox.

SecNews
SecNewshttps://www.secnews.gr
In a world without fences and walls, who needs Gates and Windows

SEARCH

FOLLOW US

📧
Newsletter SecNews
The most important Security & Technology news in your inbox.

LIVE NEWS