Getting rid of pre- and post-conditions in NoSQL injections
ID: 9c3e5fdc-5566-5cdd-87cf-331bc948d77f
STIX ID: report--9c3e5fdc-5566-5cdd-87cf-331bc948d77f
Feed Name: SensePost Blog
Threat Score
This post demonstrates practical MongoDB NoSQL injection techniques — including operator injection, $where JavaScript injection (using constructs like '||1' and null bytes), and JSON syntax injection exploiting duplicate keys and $where — to remove pre-conditions and control query results. The author provides example payloads, explains parser behaviors ("last value wins"), and discusses limitations such as post-condition constraints and the need for specific injection points.
Your team is not currently subscribed to this feed. You must subscribe to it in order to see this post.
