Rapid7 Vulnerability & Exploit Database

Exim GHOST (glibc gethostbyname) Buffer Overflow

Back to Search

Exim GHOST (glibc gethostbyname) Buffer Overflow

Disclosed
01/27/2015
Created
05/30/2018

Description

This module remotely exploits CVE-2015-0235, aka GHOST, a heap-based buffer overflow in the GNU C Library's gethostbyname functions on x86 and x86_64 GNU/Linux systems that run the Exim mail server.

Author(s)

  • Unknown

Platform

Unix

Architectures

cmd

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 exploit/linux/smtp/exim_gethostbyname_bof
msf exploit(exim_gethostbyname_bof) > show targets
    ...targets...
msf exploit(exim_gethostbyname_bof) > set TARGET < target-id >
msf exploit(exim_gethostbyname_bof) > show options
    ...show and set options...
msf exploit(exim_gethostbyname_bof) > exploit

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

;