PUBLISHED LISTING
NoSQL Injection & Mass-Assignment Pre-scan Playbook + Stdlib Scanner
Deterministic NoSQL operator-injection and mass-assignment / overposting pre-scan across Python, JS/TS, PHP, Ruby, Go, Java/Kotlin and C# sources. Catches whole request objects used as find/filter arguments (req.body / req.query / request.data / $request->all() / $_POST / params.to_unsafe_h into find/findOne/count/distinct/aggregate/exists/deleteOne|Many/findOneAnd*/where/hydrate/mapReduce + pymongo snake_case + Laravel ->where/::where — $gt/$ne/$where operators become the query), whole request objects written into models (create/insert*/update*/replaceOne/findOneAndUpdate/findByIdAndUpdate/bulkWrite/fill/forceFill/firstOrCreate/updateOrCreate/TryUpdateModel, new Model(req.body), Model(**request.POST), Model.new(params) — attacker sets any column incl. role/isAdmin), scalar request values in query field position (findOne({password: req.body.p}) accepts {"$ne":""} — the classic login bypass), request-controlled computed keys and operator-name concat ({[req.body.k]:1}, '
Included
Version & changelog
1.0.0 — initial: 9 finding codes across req-obj-query/mass-assign/field-req/computed-key/where-nonlit/regex-req/proto-merge/proto-key/form-all families.
Reviews
No reviews yet.