Rapid7 Vulnerability & Exploit Database

Trend Micro InterScan Messaging Security (Virtual Appliance) Remote Code Execution

Back to Search

Trend Micro InterScan Messaging Security (Virtual Appliance) Remote Code Execution

Disclosed
01/15/2017
Created
05/30/2018

Description

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.

Author(s)

  • Mehmet Ince <mehmet@mehmetince.net>

Platform

Python

Architectures

python

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/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

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

;