Tags: mongodb 

Rating:

https://www.youtube.com/watch?v=PMrG7cIyLQQ

The code was provided in nodejs, the hint that the DB is a mongodb instance too.
Once I learned that you can inject operators it was pretty straightforward, even the password could be taken if needed (just a brute force script to test with that $regex operator)

Original writeup (https://www.youtube.com/watch?v=PMrG7cIyLQQ).