.. / CVE-2021-22145

Exploit for Elasticsearch 7.10.0-7.13.3 - Information Disclosure (CVE-2021-22145)

Description:

ElasticSsarch 7.10.0 to 7.13.3 is susceptible to information disclosure. A user with the ability to submit arbitrary queries can submit a malformed query that results in an error message containing previously used portions of a data buffer. This buffer can contain sensitive information such as Elasticsearch documents or authentication details, thus potentially leading to data modification and/or execution of unauthorized operations.

Nuclei Template

View the template here CVE-2021-22145.yaml

Validate with Nuclei

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

References:

https://nvd.nist.gov/vuln/detail/CVE-2021-22145
https://security.netapp.com/advisory/ntap-20210827-0006/
https://packetstormsecurity.com/files/163648/ElasticSearch-7.13.3-Memory-Disclosure.html
https://github.com/jaeles-project/jaeles-signatures/blob/e9595197c80521d64e31b846808095dd07c407e9/cves/elasctic-memory-leak-cve-2021-22145.yaml
https://discuss.elastic.co/t/elasticsearch-7-13-4-security-update/279177