PT-2021-15470 · Node.Js+1 · Child Process+1
Omnitaint
·
Published
2021-04-18
·
Updated
2021-05-07
·
CVE-2021-23374
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
ps-visitor versions prior to 0.0.3
Description
The issue arises when attacker-controlled user input is given to the
kill function, allowing an attacker to execute arbitrary commands due to the use of the child process exec function without input sanitization.Recommendations
For versions prior to 0.0.3, update to version 0.0.3 or later to resolve the issue.
As a temporary workaround, consider disabling the
kill function until a patch is available.
Restrict access to the child process exec function to minimize the risk of exploitation.Exploit
Fix
Command Injection
OS Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Child Process
Ps-Visitor