mittel6.5
CVE-2023-5654
React Developer Tools extension Improper Authorization vulnerability
Auswirkung
The React Developer Tools extension registers a message listener with window.addEventListener('message', <listener>) in a content script that is accessible to any webpage that is active in the browser. Within the listener is code that requests a URL derived from the received message via fetch(). The URL is not validated or sanitised before it is fetched, thus allowing a malicious web page to arbitrarily fetch URL’s via the victim's browser.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: geringes Risiko, dass Daten oder Systeme verändert werden, geringes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| npm | react-devtools-core | < 4.28.4 | 4.28.4 |
Betroffene Produkte · Facebook
| Produkt | Betroffene Versionen |
|---|---|
| React-devtools | vor 4.28.4 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://gist.github.com/CalumHutton/1fb89b64409570a43f89d1fd3274b231
- https://github.com/advisories/GHSA-rxrc-rgv4-jpvx
- https://nvd.nist.gov/vuln/detail/CVE-2023-5654
- https://github.com/facebook/react/pull/27417
- https://github.com/facebook/react/commit/09285d5a7f1c08bec09f44cec3d0518a603597fc
- https://github.com/facebook/react/commit/94d5b5b2bf5204ebd289a113989c0e2c51b626ef