medium5.3
CVE-2024-11023
Firebase JavaScript SDK allows attackers to manipulate the "_authTokenSyncURL" to point to their own server
Impact
Firebase JavaScript SDK utilizes a "FIREBASE_DEFAULTS" cookie to store configuration data, including an "_authTokenSyncURL" field used for session synchronization. If this cookie field is preset via an attacker by any other method, the attacker can manipulate the "_authTokenSyncURL" to point to their own server and it would allow am actor to capture user session data transmitted by the SDK. We recommend upgrading Firebase JS SDK at least to 10.9.0.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | firebase | < 10.9.0 | 10.9.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Firebase Javascript Sdk | before 10.9.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://firebase.google.com/support/release-notes/js#version_1090_-_march_14_2024
- https://github.com/firebase/firebase-js-sdk/pull/8056
- https://github.com/advisories/GHSA-3wf4-68gx-mph8
- https://nvd.nist.gov/vuln/detail/CVE-2024-11023
- https://github.com/firebase/firebase-js-sdk/commit/245dd26e19b6c16aca7e1b7e597ed5784c2984ba