Trend Micro InterScan Messaging Security (Virtual Appliance) Remote Code Execution
This module exploits a command injection vulnerability in the Trend Micro IMSVA product. An authenticated user can execute a terminal command under the context of the web server user which is root. Besides, default installation of IMSVA comes with a default administrator credentials. saveCert.imss endpoint takes several user inputs and performs blacklisting. After that it use them as argument of predefined operating system command without proper sanitation. However, due to improper blacklisting rule it's possible to inject arbitrary commands into it. InterScan Messaging Security prior to 9.1.-1600 affected by this issue. This module was tested against IMSVA 9.1-1600.
- Mehmet Ince <mehmet [at] mehmetince.net>
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/http/trend_micro_imsva_exec msf exploit(trend_micro_imsva_exec) > show targets ...targets... msf exploit(trend_micro_imsva_exec) > set TARGET <target-id> msf exploit(trend_micro_imsva_exec) > show options ...show and set options... msf exploit(trend_micro_imsva_exec) > exploit