Writeups
-
Hard
Exploiting NoSQL operator injection to extract unknown fields
exploiting NoSQL operator injection to extract unknown fields where a $where clause runs arbitrary JavaScript against carlos's document, so Object.keys(this)[i].match('^.{N}C.*') reconstructs the field names character-by-character (revealing a resetPwdToken field), this.resetPwdToken.match(...) extracts its value blind via the Account-locked oracle, and GET /forgot-password?resetPwdToken=<value> resets the password to log in as carlos
NoSQL injection 6 min -
Medium
Exploiting NoSQL injection to extract data
exploiting NoSQL injection to extract data where the user lookup gives different responses for matched vs unmatched records, so boolean conditions form an oracle: this.password.length pins the admin password at 8 characters, then an Intruder cluster-bomb of this.password[i]=='x' over every index and letter reads the password character by character to log in as administrator
NoSQL injection 5 min -
Medium
Exploiting NoSQL operator injection to bypass authentication
exploiting NoSQL operator injection to bypass authentication where the MongoDB login accepts JSON, so replacing the username string with {"$ne":""} turns the equality check into "match any user" and logs you in, then {"$regex":"admin.*"} with password {"$ne":""} narrows the match to the administrator and authenticates as them without their password
NoSQL injection 4 min -
Easy
Detecting NoSQL injection
detecting NoSQL injection in a MongoDB-backed category filter where a ' causes a JavaScript syntax error and Gifts'%2b' runs cleanly, confirming the input is evaluated server-side, so boolean conditions (Gifts' && 0 && 'x returns nothing, Gifts' && 1 && 'x returns results) prove logic control and Gifts'||1||' forces an always-true filter that reveals unreleased products
NoSQL injection 4 min
Nothing matched that.
No writeups here yet. Try a broader tag, or clear the filter to see everything.
Clear filters