This module exploits a vulnerability in the CmdProcessor.exe component of Trend Micro Control Manger up to version 5.5. The specific flaw exists within CmdProcessor.exe service running on TCP port 20101. The vulnerable function is the CGenericScheduler::AddTask function of cmdHandlerRedAlertController.dll. When processing a specially crafted IPC packet, controlled data is copied into a 256-byte stack buffer. This can be exploited to execute remote code under the context of the user.
Windows
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/windows/misc/trendmicro_cmdprocessor_addtask
msf exploit(trendmicro_cmdprocessor_addtask) > show targets
...targets...
msf exploit(trendmicro_cmdprocessor_addtask) > set TARGET < target-id >
msf exploit(trendmicro_cmdprocessor_addtask) > show options
...show and set options...
msf exploit(trendmicro_cmdprocessor_addtask) > 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