Files
CVEs-PoC/2021/CVE-2021-23360.md
T
2025-09-29 21:09:30 +02:00

18 lines
871 B
Markdown

### [CVE-2021-23360](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23360)
![](https://img.shields.io/static/v1?label=Product&message=killport&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=unspecified%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Arbitrary%20Command%20Injection&color=brightgreen)
### Description
This affects the package killport before 1.0.2. If (attacker-controlled) user input is given, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization. Running this PoC will cause the command touch success to be executed, leading to the creation of a file called success.
### POC
#### Reference
- https://snyk.io/vuln/SNYK-JS-KILLPORT-1078535
#### Github
No PoCs found on GitHub currently.