Individual skill

exploiting-nosql-injection-vulnerabilities

Detect and exploit NoSQL injection vulnerabilities in MongoDB, CouchDB, and other NoSQL databases to demonstrate authentication bypass, data extraction, and unauthorized access risks.

internal/tools/skills/data/web-application-security/exploiting-nosql-injection-vulnerabilities/SKILL.md

Read pinned source

Source commit d42f381ad34843e71a42658e5c57290c713e85af

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
No
Repository scan complete
No
Skill scan complete
No
Observed behavior
Not checked yet
Last checked
Nov 7, 2026

These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.

Install this skill

Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.

An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.

Repository context

Repository stars (not skill ratings)
1,313
Repository last updated
Nov 7, 2026
License
Apache-2.0

Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt

# Exploiting NoSQL Injection Vulnerabilities

## When to Use
- During web application penetration testing of applications using NoSQL databases
- When testing authentication mechanisms backed by MongoDB or similar databases
- When assessing APIs that accept JSON input for database queries
- During bug bounty hunting on applications with NoSQL backends
- When performing security code review of database query construction

### How to CONFIRM a Hit (avoid false negatives)
- The positive signal is a **behavioural differential caused by an operator**, not a generic error: an operator-injection payload (`{"$ne":null}` / `{"$gt":""}`) returns a logged-in session / different record set than a benign value, OR a `$where`+sleep payload adds a measurable delay, OR a `$regex` boolean probe flips the response between two known states.
- Confirm auth bypass by diffing three requests: valid creds, invalid creds, and the operator payload. The injection is real only if the operator response matches/exceeds the "valid" response while plain-invalid stays rejected.
- For blind extraction, prove the channel works: anchor a `$regex` that MUST match (`^`) and one that MUST NOT, and confirm the two responses differ before extracting characters.
- Do NOT conclude negative until you have tried ALL of these encodings/forms: