.. / CVE-2021-22911

Exploit for Rocket.Chat <=3.13 - NoSQL Injection (CVE-2021-22911)

Description:

Rocket.Chat 3.11, 3.12 and 3.13 contains a NoSQL injection vulnerability which allows unauthenticated access to an API endpoint. An attacker can possibly obtain sensitive information from a database, modify data, and/or execute unauthorized administrative operations in the context of the affected site.

Nuclei Template

View the template here CVE-2021-22911.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2021/CVE-2021-22911.yaml
Copy

References:

https://nvd.nist.gov/vuln/detail/CVE-2021-22911
http://packetstormsecurity.com/files/162997/Rocket.Chat-3.12.1-NoSQL-Injection-Code-Execution.html
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-22911
https://github.com/vulhub/vulhub/tree/master/rocketchat/CVE-2021-22911
https://hackerone.com/reports/1130721
https://blog.sonarsource.com/nosql-injections-in-rocket-chat