Files
CVEs-PoC/2021/CVE-2021-23348.md
T
2024-06-18 02:51:15 +02:00

19 lines
874 B
Markdown

### [CVE-2021-23348](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23348)
![](https://img.shields.io/static/v1?label=Product&message=portprocesses&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3C%201.0.5%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Arbitrary%20Command%20Injection&color=brighgreen)
### Description
This affects the package portprocesses before 1.0.5. If (attacker-controlled) user input is given to the killProcess function, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization.
### POC
#### Reference
- https://github.com/rrainn/PortProcesses/security/advisories/GHSA-vm67-7vmg-66vm
- https://snyk.io/vuln/SNYK-JS-PORTPROCESSES-1078536
#### Github
No PoCs found on GitHub currently.