NoSQL Injection
IntermediateThis MongoDB-backed application is vulnerable to NoSQL injection. Exploit operator injection, $where JavaScript execution, and then learn how to fix it with proper input validation.
Progress:
1
Operator Injection2
$where Exploitation3
Apply the Fixapp.io/api/login
MongoDB Login
MongoDB Query Constructed
db.users.find({
username: "...",
password: "..."
})
username: "...",
password: "..."
})