Attacks & Threats
NoSQL Injection
Also known as: NoSQLi
Definition
An injection attack against document, key-value or graph databases where attacker-controlled operators or JavaScript are smuggled into query objects.
Examples
- Submitting {"username": "admin", "password": {"$ne": ""}} to a MongoDB login endpoint to bypass the password check.
- Abusing {"$where": "sleep(5000) || true"} to enumerate data via timing differences.
Related terms
SQL Injection
An attack that inserts attacker-controlled SQL fragments into queries built from untrusted input, allowing data theft, modification, or full database compromise.
Command Injection
Command Injection — definition coming soon.
Input Validation
Input Validation — definition coming soon.
Insecure Deserialization
A vulnerability where an application deserialises untrusted data, letting attackers instantiate arbitrary objects and frequently achieve remote code execution.
OWASP Top 10
OWASP Top 10 — definition coming soon.
Broken Authentication
A category of vulnerabilities where flaws in authentication or session management let attackers impersonate legitimate users or take over accounts.