Rapid7 Vulnerability & Exploit Database

Elasticsearch Memory Disclosure

Back to Search

Elasticsearch Memory Disclosure

Disclosed
07/21/2021
Created
09/07/2023

Description

This module exploits a memory disclosure vulnerability in Elasticsearch 7.10.0 to 7.13.3 (inclusive). A user with the ability to submit arbitrary queries to Elasticsearch can generate an error message containing previously used portions of a data buffer. This buffer could contain sensitive information such as Elasticsearch documents or authentication details. This vulnerability's output is similar to heartbleed.

Author(s)

  • h00die
  • Eric Howard
  • R0NY

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use auxiliary/scanner/http/elasticsearch_memory_disclosure
msf auxiliary(elasticsearch_memory_disclosure) > show actions
    ...actions...
msf auxiliary(elasticsearch_memory_disclosure) > set ACTION < action-name >
msf auxiliary(elasticsearch_memory_disclosure) > show options
    ...show and set options...
msf auxiliary(elasticsearch_memory_disclosure) > run 

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;