Trend Micro ServerProtect EarthAgent Stack Overflow Vulnerability

2007-05-07T00:00:00
ID ZDI-07-024
Type zdi
Reporter Eric DETOISIEN
Modified 2007-11-09T00:00:00

Description

These vulnerabilities allow attackers to execute arbitrary code on vulnerable installations of Trend Micro ServerProtect. Authentication is not required to exploit these vulnerabilities.

The specific flaw exists in the EarthAgent.exe daemon, bound by default on TCP port 3628 and exposing the following DCE/RPC interface through TmRpcSrv.dll:

/ opcode: 0x00, address: 0x65741030 /
error_status_t sub_65741030 (
[in] handle_t arg_1,
[in] long arg_2,
[in][size_is(arg_4)] byte arg_3[],
[in] long arg_4,
[out][size_is(arg_6)] byte arg_5[],
[in] long arg_6
);

A sub-function within this interface is vulnerable to a stack overflow due an unbounded call to wcscpy().