RCE in Port-Killer Project
CVE-2021-23359
- CVSS v3
- 7.5 High
- Public exploits
- None known
- EPSS
- 0.017 · 77.2th percentile
- Published
- 2021-03-18
This affects all versions of package port-killer. 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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- High
AC:H - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.017, 77.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Port-Killer Project
- Port-Killer — versions 0
Weakness classification (CWE)
References
- snyk.io/vuln/SNYK-JS-PORTKILLER-1078533 (Exploit, Third Party Advisory)
- github.com/tylerjpeterson/port-killer/blob/1ca3a99ad80cc9ed5498d12b185189c10329… (Broken Link)