Files
CVEs-PoC/2018/CVE-2018-6342.md
T
2024-05-26 14:27:05 +02:00

18 lines
1.1 KiB
Markdown

### [CVE-2018-6342](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-6342)
![](https://img.shields.io/static/v1?label=Product&message=react-dev-utils&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=!%3D%3E%205.0.2%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Improper%20Neutralization%20of%20Special%20Elements%20used%20in%20an%20OS%20Command%20(CWE-78)&color=brighgreen)
### Description
react-dev-utils on Windows allows developers to run a local webserver for accepting various commands, including a command to launch an editor. The input to that command was not properly sanitized, allowing an attacker who can make a network request to the server (either via CSRF or by direct request) to execute arbitrary commands on the targeted system. This issue affects multiple branches: 1.x.x prior to 1.0.4, 2.x.x prior to 2.0.2, 3.x.x prior to 3.1.2, 4.x.x prior to 4.2.2, and 5.x.x prior to 5.0.2.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/ossf-cve-benchmark/CVE-2018-6342