RCE in Killport Project
CVE-2021-23360
- CVSS v3
- 7.5 High
- Public exploits
- None known
- EPSS
- 0.023 · 84.0th percentile
- Published
- 2021-03-21
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.
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.023, 84.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Killport Project
- Killport — versions unspecified
Weakness classification (CWE)
References
- snyk.io/vuln/SNYK-JS-KILLPORT-1078535 (Exploit, Patch, Third Party Advisory)
- github.com/ssnau/killport/blob/5268f23ea8f152e47182b263d8f7ef20c12a9f28/index.j… (Broken Link)
- github.com/ssnau/killport/commit/bec8e371f170a12e11cd222ffc7a6e1ae9942638 (Patch, Third Party Advisory)