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 imagickal
.
imagickal is a node wrapper for ImageMagick commands.
Affected versions of this package are vulnerable to Remote Code Execution. The injection point is in the identify()
function in lib/imagickal.js, which does not validate inputs. The vulnerability is demonstrated by the following PoC:
var im = require('imagickal');
im.identify('image.jpg;touch HACKED;').then(function (data) { console.log(data); });