Rapid7 Vulnerability & Exploit Database

Hastymail 2.1.1 RC1 Command Injection

Back to Search

Hastymail 2.1.1 RC1 Command Injection

Disclosed
11/22/2011
Created
05/30/2018

Description

This module exploits a command injection vulnerability found in Hastymail 2.1.1 RC1 due to the insecure usage of the call_user_func_array() function on the "lib/ajax_functions.php" script. Authentication is required on Hastymail in order to exploit the vulnerability. The module has been successfully tested on Hastymail 2.1.1 RC1 over Ubuntu 10.04.

Author(s)

  • Bruno Teixeira
  • juan vazquez <juan.vazquez@metasploit.com>

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/unix/webapp/hastymail_exec
msf exploit(hastymail_exec) > show targets
    ...targets...
msf exploit(hastymail_exec) > set TARGET < target-id >
msf exploit(hastymail_exec) > show options
    ...show and set options...
msf exploit(hastymail_exec) > 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

;