CVE-2024-45489

Arc before 2024-08-26 allows remote code execution in JavaScript boosts

Critical · published September 20, 2024

CVSS v3.1
9.8
EPSS
1%
Percentile
68.9
In the wild
Unconfirmed
What it is

🔥 A sneaky misconfiguration in Firebase allows malicious boosts to run JavaScript on a user's browser, all because of a tiny oversight! Think of it like a restaurant where the chef accidentally shares the secret ingredient list: anyone with the recipe can make changes to the dish, even if they aren't on the guest list. In this case, an attacker can create or update a JavaScript boost using another user's ID, running unauthorized code in their browser. An attacker could exploit this vulnerability to run arbitrary JavaScript in the privileged context of a victim’s browser. This could lead to devastating consequences like stealing sensitive data, hijacking user sessions, or manipulating the web application at will. It’s a critical risk that shouldn’t be taken lightly!

Put simply

Think of it like a restaurant where the chef accidentally shares the secret ingredient list: anyone with the recipe can make changes to the dish, even if they aren't on the guest list. In this case, an attacker can create or update a JavaScript boost using another user's ID, running unauthorized code in their browser. This vulnerability exists due to misconfigured Firebase ACLs allowing unauthorized access to create or update JavaScript boosts on behalf of other users. Boosts that run JavaScript typically aren't shareable, but this flaw bypasses those protections.

What to do

An attacker could exploit this vulnerability to run arbitrary JavaScript in the privileged context of a victim’s browser. This could lead to devastating consequences like stealing sensitive data, hijacking user sessions, or manipulating the web application at will. It’s a critical risk that shouldn’t be taken lightly! To remediate this issue, update your Firebase configuration to enforce strict access controls for boosts. Ensure that only authorized users can create or update JavaScript boosts, and conduct a security audit of your ACL settings to identify any other potential weaknesses. You've got this! With a few tweaks, you can lock this down and secure your application. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01238 · 68.9th percentile
Published
2024-09-20T00:00Z
EPSS history
Timeline
  • 20 SEP 00:00Z
    Arc before 2024-08-26 allows remote code execution in JavaScript boosts
    cvelistv5