# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##
classMetasploitModule<Msf::Exploit::Remote
Rank=ExcellentRanking
includeMsf::Exploit::Remote::HttpClient
definitialize(info={})
super(update_info(info,
'Name'=>"Mailcleaner Remote Code Execution",
'Description'=>%q{
This module exploits the command injection vulnerability of MailCleaner Community Edition product. An authenticated user can execute an
operating system command under the context of the web server user which is root.
/admin/managetracing/search/search endpoint takes several user inputs and then pass them to the internal service which is responsible for executing
operating system command. One of the user input is being passed to the service without proper validation. That cause a command injection vulnerability.
},
'License'=>MSF_LICENSE,
'Author'=>
[
'Mehmet Ince <mehmet@mehmetince.net>'# author & msf module