cve/2023/CVE-2023-5654.md

18 lines
1021 B
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2023-5654](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-5654)
![](https://img.shields.io/static/v1?label=Product&message=React%20Developer%20Tools%20Extension&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3C%204.28.4%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-285%3A%20Improper%20Authorization&color=brighgreen)
### Description
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 URLs via the victim's browser.
### POC
#### Reference
- https://gist.github.com/CalumHutton/1fb89b64409570a43f89d1fd3274b231
#### Github
No PoCs found on GitHub currently.