CVE-2021-22145
MEDIUM NUCLEIElasticsearch 7.10.0-7.13.3 - Memory Disclosure via Malformed Query Error Message
Title source: llmExploitation Summary
EIP tracks 3 public exploits for CVE-2021-22145.
PoCs published by r0ny, niceeeeeeee, h00die, Eric Howard, R0NY, including Metasploit module auxiliary/scanner/http/elasticsearch_memory_disclosure.
A Nuclei detection template is also available.
AI-analyzed exploit summary This exploit targets a memory disclosure vulnerability in ElasticSearch versions 7.10.0 to 7.13.3. It sends a malformed request to the /_bulk endpoint, triggering an error response that leaks memory contents.
Description
A memory disclosure vulnerability was identified in Elasticsearch 7.10.0 to 7.13.3 error reporting. A user with the ability to submit arbitrary queries to Elasticsearch could submit a malformed query that would result in an error message returned containing previously used portions of a data buffer. This buffer could contain sensitive information such as Elasticsearch documents or authentication details.
Exploits (3)
This exploit targets a memory disclosure vulnerability in ElasticSearch versions 7.10.0 to 7.13.3. It sends a malformed request to the /_bulk endpoint, triggering an error response that leaks memory contents.
This repository contains a functional Python PoC for CVE-2021-22145, a memory leak vulnerability in Elasticsearch versions 7.10.0 to 7.13.3. The exploit sends a crafted request to the /_bulk endpoint to trigger the leak and extracts memory contents from the error response.
This Metasploit module exploits a memory disclosure vulnerability in Elasticsearch (CVE-2021-22145) by sending malformed bulk requests to leak memory contents, similar to Heartbleed. It supports scanning and dumping leaked memory to loot.
Nuclei Templates (1)
index_not_found_exception
References (5)
Scores
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N