Hijacked Cyberhaven Chrome extension stole Facebook access tokens, cookies and sessions
Cyberhaven's Chrome extension was hijacked to steal Facebook logins.
Are you affected?
The free scanner that answers this opens soon. Until then, the steps below work by hand.
What happened
Hijacked extension stole Facebook sessions. Cyberhaven says a phishing attack on 2024-12-24 led an employee to authorize a malicious Google OAuth app named "Privacy Policy Extension", which the attacker used to publish a malicious version 24.10.4 of Cyberhaven's Chrome extension. The code was active from 01:32 UTC on 2024-12-25 to 02:50 UTC on 2024-12-26, reached Chrome-based browsers that auto-updated in that window, and could exfiltrate cookies and authenticated sessions. Cyberhaven's analysis found it targeted Facebook, taking the user's Facebook access token, user ID, account details, business accounts and ad account information. Cyberhaven detected it at 23:54 UTC on 2024-12-25, removed it within 60 minutes and published 24.10.5. Cyberhaven says its CI/CD processes and code-signing keys were not compromised, and links the attack to a wider campaign against Chrome extension developers.
- Exposure starts
- 2024-12-25
- Exposure ends
- 2024-12-26
- Confidence
- high
- Scope
- Facebook access tokens, cookies and authenticated sessions, and Facebook personal and business account passwords, in Chrome-based browsers that ran Cyberhaven extension 24.10.4
What to do, in this order
- Force-update the Cyberhaven Chrome extension from 24.10.4 to 24.10.5 or later
Cyberhaven's first required action. Rotating while 24.10.4 still runs would hand the new session to the same code.
- Rotate Facebook personal and business account passwords for accounts used on impacted machines
Cyberhaven's required action; the malicious code took Facebook access tokens, cookies and business and ad account data.
anything else stored there
- Rotate API tokens and passwords not protected by FIDO2 that were used in the affected browsers
BleepingComputer's recommendation, wider than Cyberhaven's own, because the code could exfiltrate cookies and authenticated sessions.
anything else stored there
- Review logs for outbound connections to the attacker's domain
Cyberhaven asks customers to verify there were no outbound connections to the attacker's domain or other malicious activity.
Notes
- Cyberhaven says the employee had Google Advanced Protection and MFA, received no MFA prompt, and that the employee's Google credentials were not compromised; access came through the OAuth grant.
- BleepingComputer adds advice to revoke passwords that are not FIDOv2 and rotate all API tokens; Cyberhaven's pages checked here ask only for Facebook password rotation.
How to tell if you’re affected
- Cyberhaven Chrome extension version 24.10.4 installed in a Chrome-based browser
- Connections to cyberhavenext[.]pro
- A Google OAuth grant to an app named Privacy Policy Extension
Sources
- BleepingComputer: Cybersecurity firm's Chrome extension hijacked to steal users' data
- Cyberhaven: Cyberhaven's Chrome extension security incident and what we're doing about it (now redirects; read via archive)
- Cyberhaven: preliminary analysis of the recent malicious Chrome extension (now redirects; read via archive)
Rotating the keys
Pro, $49 a year when it opens, plans the rotation of each affected key for this incident, in this order. Automatic rotation is in testing and included.
By hand, free: the steps above.