Re:No-SQL injection in Mongo PHP
by s00pcan on Monday March 07, 2011 @03:53PM
(#2298621)
I might be missing something here, having never used MongoDB, but what does this have to do with it? How else can this attack vector be used?
[ Parent
| on HN ]
There's a very good example here:
http://www.idontplaydarts.com/2010/07/mongodb-is-vulnerable-...
$ne = not equals which translated to "give me everything not equal to foo". Using this you can basically get a dump of all the data or update with foobarred critera - updating all passwords for all users not equal to foo, for instance