cve/2021/CVE-2021-23360.md

18 lines
869 B
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [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=%3C%201.0.2%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Arbitrary%20Command%20Injection&color=brighgreen)
### 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.