Arbitrary Command Execution Vulnerability in port-killer Package

Arbitrary Command Execution Vulnerability in port-killer Package

CVE-2021-23359 · HIGH Severity

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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.

Learn more about our User Device Pen Test.