Chrome Extension Hacked: - A Wake-Up Call for Users.
A Cyberhaven employee was tricked by a phishing email into authorising a malicious Google OAuth application, which let attackers publish a compromised version of the company's Chrome extension. That extension then stole Facebook access tokens, user IDs and cookies from users, focusing on Facebook Ads accounts.
medium.com
Published on medium.com
A new attack campaign has recently rocked the world of Chrome browser extensions, leading to a significant security breach. At least “35 popular extensions” have been compromised, potentially putting over 2.6 million users at risk.
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 write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a phishing email led an employee to grant a fraudulent OAuth application access to the Chrome Web Store publisher account, allowing a malicious extension update to be published.
Impact
Attackers could steal Facebook access tokens, user IDs and cookies, potentially compromising Facebook Ads accounts and bypassing CAPTCHA and 2FA; the text says at least 35 extensions and over 2.6 million users were affected.
What the attacker needed
Victim opens a phishing email; victim authorises a fake OAuth app; extension installed in the browser
The fix
The text does not state a specific fix; it recommends removing affected extensions, resetting credentials and enabling MFA.
How it was found
- Send a phishing email to a Cyberhaven employee.
- Trick the employee into authorising a fake Google OAuth app called 'Privacy Policy Extension'.
- Use the granted permissions to upload a malicious version of the Chrome extension.
- The extension's worker script contacts a command-and-control server and registers event listeners.
- The content script collects Facebook access tokens, user IDs and cookies and sends them to the command-and-control server.
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 write-up has not been written yet. The Original tab links to the source.
A browser extension is a small add-on that can read and change what you see on websites. Here, an employee was fooled into giving a fake app permission to manage the company's Chrome Web Store listing, so attackers could push a bad update to everyone who had the extension. That bad update quietly sent login data for Facebook to the attackers.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.