CVE-2024-4128: Firebase Emulator - Cross-Site Request Forgery
- Cve: CVE-2024-4128
- Name: Firebase Emulator - Cross-Site Request Forgery
- Description: This vulnerability was a potential CSRF attack. When running the Firebase emulator suite, there is an export endpoint that is used normally to export data from running emulators. If a user was running the emulator and navigated to a malicious website with the exploit on a browser that allowed calls to localhost (ie Chrome before v94), the website could exfiltrate emulator data. We recommend upgrading past version 13.6.0 or commit 068a2b08dc308c7ab4b569617f5fc8821237e3a0 https://github.com/firebase/firebase-tools/commit/068a2b08dc308c7ab4b569617f5fc8821237e3a0
- Impact: Attackers can exfiltrate emulator data by convincing users to visit malicious websites, leading to data leakage.
- Remediation: Upgrade to version 13.6.0 or later, or apply commit 068a2b08dc308c7ab4b569617f5fc8821237e3a0.
- Vulnerability type: cross_site_request_forgery
- Vulnerability impact: information_disclosure
- Requirement type: user_interaction
- Requirements: User must navigate to malicious website with localhost call permissions
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
- Epss score: 0.0013
- Epss percentile: 0.02637
- Assignee: [email protected]
- Published at: 2024-05-02T14:15:10Z
- Age in days: 936
- Modified at: 2026-06-17T08:01:11Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-4128
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-352 | Cross-Site Request Forgery |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/firebase/firebase-tools/commit/068a2b08dc308c7ab4b569617f5fc8821237e3a0 | nvd | Patch |
| https://github.com/firebase/firebase-tools/pull/6944 | nvd | Patch |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| google:firebase_command_line_interface | < 13.6.0 | no | nvd | /v1/products/google/firebase_command_line_interface |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| firebase/firebase-tools | commit, fix, package, pull | yes | /v1/repositories/firebase/firebase-tools |
Index
- Repositories: 2
- Repositories high signal: 2
- Packages: 1
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts