GHSL-2024-011: Arbitrary javascript execution in Edge and Firefox via a universal Cross-Site Scripting (UXSS) in smartup - CVE-2024-49378
The smartup browser extension accepts messages from any other extension without verifying the sender, and passes attacker-controlled data into a script execution function. A malicious extension could run arbitrary JavaScript in the context of the user's current tab, potentially compromising logged-in accounts.
A universal XSS is present in the Edge and Firefox versions of Smartup, allowing another extension to execute arbitrary code in the context of the user’s tab.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
The extension did not validate the sender of external messages and passed untrusted message data directly into a script execution API.
Impact
A malicious extension could execute arbitrary JavaScript in the context of the user's tab, potentially compromising accounts the user is logged into.
What the attacker needed
Victim has smartup extension installed; attacker can install a malicious extension
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Browser extensions can talk to each other. This extension listened to messages from any other extension without checking who sent them. It then used part of that message as code to run inside the user's current web page, so a bad extension could run its own code on any site the user had open.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.