Category Archives: MongoDB

MongoDB Null Byte Injection attacks

Following my earlier post on how MongoDB can be vulnerable to SQL injection I discovered that MongoDB is also vulnerable to Null Byte Injection. The attack could potentially let users overwrite fields in the database to which the application logic … Continue reading

Posted in MongoDB | Tagged , , , | 4 Comments

Mongodb is vulnerable to SQL injection in PHP at least

Its a common misconception that as MongoDB does not use SQL it is not vulnerable to SQL injection attacks. PHP uses objects rather than SQL to pass queries to the MongoDB server; for example the following script selects an item … Continue reading

Posted in MongoDB | Tagged , , , | 11 Comments