Vulnerability & Exploit Database

Back to search

OpenSSL Heartbeat (Heartbleed) Information Leak

This module implements the OpenSSL Heartbleed attack. The problem exists in the handling of heartbeat requests, where a fake length can be used to leak memory data in the response. Services that support STARTTLS may also be vulnerable. The module supports several actions, allowing for scanning, dumping of memory contents to loot, and private key recovery. The LEAK_COUNT option can be used to specify leaks per SCAN or DUMP. The repeat command can be used to make running the SCAN or DUMP many times more powerful. As in: repeat -t 60 run; sleep 2 To run every two seconds for one minute.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name



  • Neel Mehta
  • Riku
  • Antti
  • Matti
  • Jared Stafford <jspenguin [at]>
  • FiloSottile
  • Christian Mehlmauer <FireFart [at]>
  • wvu <wvu [at]>
  • juan vazquez <juan.vazquez [at]>
  • Sebastiano Di Paola
  • Tom Sellers
  • jjarmoc
  • Ben Buchanan
  • herself



  • SCAN
  • DUMP
  • KEYS



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/ssl/openssl_heartbleed msf auxiliary(openssl_heartbleed) > show actions ...actions... msf auxiliary(openssl_heartbleed) > set ACTION <action-name> msf auxiliary(openssl_heartbleed) > show options and set options... msf auxiliary(openssl_heartbleed) > run

Related Vulnerabilities

Related Modules