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 sequelize
to version 3.12.1 or higher.
sequelize
is a multi dialect ORM for Node.JS/io.js.
Affected versions of the package are vulnerable to SQL Injection via the user search by typing the name they want to search for and the application then executes:
User.findAll( { where: { name: req.body.name } } )
a malicious attacker may exploit this to find the users password by entering $password$
. This could be avoided by specifying the exact column to search: the user column.