Arc Browser Bug: The Firebase Field Anyone Could Edit
*AI-assisted: drafted with AI help from public sources, then reviewed and edited. This is an analytical case study of a public disclosure, not my own discovery.*


AI-generated illustration
Arc stored website Boosts in Firestore and let owners rewrite one field, so a script could be pushed into a stranger’s browser
AI-assisted: drafted with AI help from public sources, then reviewed and edited. This is an analytical case study of a public disclosure, not my own discovery.
One editable database field was enough to run code in a stranger’s browser without them clicking anything. This Arc browser bug, CVE-2024–45489, let anyone who knew a user’s ID install a JavaScript Boost on that user’s machine. The researcher’s first award was $2,000, and Arc later raised it under its new bounty program.
Disclaimer: * Educational and defensive use only. Arc patched the root cause on 26 August 2024 and found no affected members. Arc itself is scheduled to shut down on 22 December 2026. Paths, scripts and payloads are intentionally omitted.*
Vulnerability Overview
- Type: Broken access control in Firebase security rules leading to remote code execution in the browser
- CWE: CWE-284 (Improper Access Control), as listed for the CVE; CWE-639 (Authorization Bypass Through User-Controlled Key) as my analytical mapping
- CVE / CVSS: CVE-2024–45489; CVSS 3.1 9.8 (Critical) from the CISA-ADP entry on NVD
- Bounty: $2,000 initially; The Verge reported a retroactive raise to $20,000, and Arc confirmed it increased the payment
How the Arc Browser Bug Worked (high level)
Arc’s cloud features ran on Firebase. In that model clients talk straight to Firestore, and the security rules are the only thing standing between users. The researcher, xyzeva, saw that Arc’s database traffic bypassed a normal proxy, so they hooked the app’s Firebase calls directly.
One collection stood out: Boosts. A Boost customizes a website with your own CSS and JavaScript. Arc only let you share script-free Boosts, but synced your own Boosts, scripts included, across devices. The browser picked which Boosts to run by querying the creatorID field.
The rules stopped you from reading someone else’s Boosts. They did not stop you from editing your own Boost’s creatorID to someone else’s ID. Change that value, and the victim’s browser downloaded and ran the attacker’s script whenever they visited the targeted site.
User IDs were not secret: referrals, published Boosts and shared Easels exposed them. The researcher also saw Boosts run on privileged internal pages, and flagged that every site visit sent a query naming the host, a privacy problem of its own.
Business Impact
This was effectively remote code execution in a targeted user’s browser: session theft and account takeover on any site they used. It was demonstrated on the co-founder’s own account. Beyond the patch, JavaScript Boosts stopped auto-enabling across synced devices, a global off switch shipped, an external audit started, and Arc began moving off Firebase.
Fixing Arc Browser-Style Rules (my own analysis)
1. Ownership fields are immutable after create. Allow updates only when the owner value stays the same and matches the authenticated caller.
2. Synced code needs consent on the receiving device. Cloud-delivered scripts should not run until approved on that machine.
3. Treat IDs as public. A user ID is never a secret.
# Pseudocode: server-side rule check mirroring a Firestore rule
def can_write_boost(auth, old, new):
if auth is None:
return False
if old is None: # create
return new.creator_id == auth.uid
return (old.creator_id == auth.uid and # only the owner may update
new.creator_id == old.creator_id) # and may never reassign ownership
def on_sync(device, boost):
if boost.has_js and boost.id not in device.approved_scripts:
prompt_user(device, boost) # no silent script installs
return
install(device, boost)
# Test: owner changes creator_id to another uid -> denied
# Test: new JS boost synced to a second device -> not executed until approved
Key Takeaways
- With Backend-as-a-Service, the security rules are your backend. Review them like auth code.
- Fields that decide who sees or runs something must be write-once.
- Anything that executes code should demand consent where it runs, not only where it was created.
Credit & Sources
Discovered and reported by xyzeva (credited by Arc as xyz3va). Primary source: gaining access to anyones browser without them even visiting a website, with Arc’s security bulletin and incident report of 20 September 2024. Facts come from those pages, NVD and The Verge; analysis and code are original.
Next breakdown: nOAuth, the “Log in with Microsoft” email claim that let attackers take over accounts in other apps. Follow @masimshahzad for daily bug bounty breakdowns.
First published by Adam Hale on Medium.
Sources
Share
Reactions
Comments
Your name and comment appear on this article for other readers.
Corrections and tips:[email protected]

