Command Injection in PortProcesses - CVE-2021-23348
Published: April 6, 2021
Vulnerability identifier: #VU51937
CSH Severity: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Amber
CVE-ID: CVE-2021-23348
CWE-ID: CWE-77
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerable software:
PortProcesses
PortProcesses
Software vendor:
rrainn
rrainn
Description
The vulnerability allows a remote attacker to execute arbitrary commands on the target system.
The vulnerability exists due to improper input validation in the "killProcess" function. A remote attacker can pass specially crafted data to the application and execute arbitrary commands on the target system.
Remediation
Install updates from vendor's website.
External links
- https://github.com/rrainn/PortProcesses/blob/fffceb09aff7180afbd0bd172e820404b33c8299/index.js%23L23
- https://github.com/rrainn/PortProcesses/commit/86811216c9b97b01b5722f879f8c88a7aa4214e1
- https://github.com/rrainn/PortProcesses/security/advisories/GHSA-vm67-7vmg-66vm
- https://snyk.io/vuln/SNYK-JS-PORTPROCESSES-1078536