Trend Micro ServerProtect TmRpcSrv.dll RPC Request Multiple Overflows - Nessus

Critical   Plugin ID: 24680

This page contains detailed information about the Trend Micro ServerProtect TmRpcSrv.dll RPC Request Multiple Overflows Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 24680
Name: Trend Micro ServerProtect TmRpcSrv.dll RPC Request Multiple Overflows
Filename: trendmicro_serverprotect_multiple.nasl
Vulnerability Published: 2007-02-20
This Plugin Published: 2007-02-21
Last Modification Time: 2018-08-01
Plugin Version: 1.22
Plugin Type: remote
Plugin Family: Gain a shell remotely
Dependencies: trendmicro_serverprotect_detect.nasl
Required KB Items [?]: Antivirus/TrendMicro/ServerProtect

Vulnerability Information


Severity: Critical
Vulnerability Published: 2007-02-20
Patch Published: 2007-02-20
CVE [?]: CVE-2007-1070
CPE [?]: cpe:/a:trend_micro:serverprotect

Synopsis

It is possible to execute code on the remote host through the AntiVirus Agent.

Description

The remote version of Trend Micro ServerProtect is vulnerable to multiple stack overflows in the RPC interface. By sending specially crafted requests to the remote host, an attacker may be able to exploit stack based overflows and execute arbitrary code on the remote host.

Solution

Trend Micro has released a patch for ServerProtect for Windows / NetWare.

Public Exploits


Target Network Port(s): 5168
Target Asset(s): N/A
Exploit Available: True (Metasploit Framework, Exploit-DB, ExploitHub, Immunity Canvas)
Exploit Ease: Exploits are available

Here's the list of publicly known exploits and PoCs for verifying the Trend Micro ServerProtect TmRpcSrv.dll RPC Request Multiple Overflows vulnerability:

  1. Metasploit: exploit/windows/antivirus/trendmicro_serverprotect
    [Trend Micro ServerProtect 5.58 Buffer Overflow]
  2. Exploit-DB: exploits/windows/remote/4367.c
    [EDB-4367: Trend Micro ServerProtect - 'eng50.dll' Remote Stack Overflow]
  3. Exploit-DB: exploits/windows/remote/16827.rb
    [EDB-16827: Trend Micro ServerProtect 5.58 - Remote Buffer Overflow (Metasploit)]
  4. ExploitHub: EH-12-206
  5. Immunity Canvas: CANVAS

Before running any exploit against any system, make sure you are authorized by the owner of the target system(s) to perform such activity. In any other case, this would be considered as an illegal activity.

WARNING: Beware of using unverified exploits from sources such as GitHub or Exploit-DB. These exploits and PoCs could contain malware. For more information, see how to use exploits safely.

Risk Information


CVSS V2 Vector [?]: AV:N/AC:L/Au:N/C:C/I:C/A:C/E:F/RL:OF/RC:C
CVSS Base Score:10.0 (High)
Impact Subscore:10.0
Exploitability Subscore:10.0
CVSS Temporal Score:8.3 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:8.3 (High)

Go back to menu.

Plugin Source


This is the trendmicro_serverprotect_multiple.nasl nessus plugin source code. This script is Copyright (C) 2007-2018 Tenable Network Security, Inc.

#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
  script_id(24680);
  script_version("1.22");
  script_cvs_date("Date: 2018/08/01 17:36:12");

  script_cve_id("CVE-2007-1070");
  script_bugtraq_id(22639);

  script_name(english:"Trend Micro ServerProtect TmRpcSrv.dll RPC Request Multiple Overflows");
  script_summary(english:"Checks for ServerProtect version");

  script_set_attribute(attribute:"synopsis", value:
"It is possible to execute code on the remote host through the
AntiVirus Agent.");
  script_set_attribute(attribute:"description", value:
"The remote version of Trend Micro ServerProtect is vulnerable to
multiple stack overflows in the RPC interface. By sending specially
crafted requests to the remote host, an attacker may be able to
exploit stack based overflows and execute arbitrary code on the remote
host.");
  # http://web.archive.org/web/20081023005716/http://dvlabs.tippingpoint.com/advisory/TPTI-07-01
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?0afdbfea");
  # http://web.archive.org/web/20080820001307/http://dvlabs.tippingpoint.com/advisory/TPTI-07-02
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?6212c055" );
  script_set_attribute(attribute:"see_also", value:"http://www.trendmicro.com/download/product.asp?productid=17");
  script_set_attribute(attribute:"solution", value:
"Trend Micro has released a patch for ServerProtect for
Windows / NetWare.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");
  script_set_attribute(attribute:"exploithub_sku", value:"EH-12-206");
  script_set_attribute(attribute:"exploit_framework_exploithub", value:"true");
  script_set_attribute(attribute:"metasploit_name", value:'Trend Micro ServerProtect 5.58 Buffer Overflow');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
  script_set_attribute(attribute:"exploit_framework_canvas", value:"true");
  script_set_attribute(attribute:"canvas_package", value:'CANVAS');

  script_set_attribute(attribute:"vuln_publication_date", value:"2007/02/20");
  script_set_attribute(attribute:"patch_publication_date", value:"2007/02/20");
  script_set_attribute(attribute:"plugin_publication_date", value:"2007/02/21");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:trend_micro:serverprotect");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Gain a shell remotely");
  script_copyright(english:"This script is Copyright (C) 2007-2018 Tenable Network Security, Inc.");

  script_dependencies ("trendmicro_serverprotect_detect.nasl");
  script_require_keys ("Antivirus/TrendMicro/ServerProtect");
  script_require_ports(5168);

  exit(0);
}

include("global_settings.inc");
include("misc_func.inc");

version = get_kb_item_or_exit("Antivirus/TrendMicro/ServerProtect");

port = 5168;

v = split (version, sep:".", keep:FALSE);

if (
  (v[0] < 5) ||
  (v[0] == 5 && v[1] < 58) ||
  (v[0] == 5 && v[1] == 58 && v[2] == 0 && v[3] < 1171)
) 
{
  if (report_verbosity > 0)
  {
    report = '\n  Installed version : ' + version + 
             '\n  Fixed version     ; 5.58.0.1171' +
             '\n';
    security_hole(port:port, extra:report);
  }
  else security_hole(port);
}
else exit("The Trend Micro ServerProtect install is not affected.");

The latest version of this script can be found in these locations depending on your platform:

  • Linux / Unix:
    /opt/nessus/lib/nessus/plugins/trendmicro_serverprotect_multiple.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\trendmicro_serverprotect_multiple.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/trendmicro_serverprotect_multiple.nasl

Go back to menu.

How to Run


Here is how to run the Trend Micro ServerProtect TmRpcSrv.dll RPC Request Multiple Overflows as a standalone plugin via the Nessus web user interface (https://localhost:8834/):

  1. Click to start a New Scan.
  2. Select Advanced Scan.
  3. Navigate to the Plugins tab.
  4. On the top right corner click to Disable All plugins.
  5. On the left side table select Gain a shell remotely plugin family.
  6. On the right side table select Trend Micro ServerProtect TmRpcSrv.dll RPC Request Multiple Overflows plugin ID 24680.
  7. Specify the target on the Settings tab and click to Save the scan.
  8. Run the scan.

Here are a few examples of how to run the plugin in the command line. Note that the examples below demonstrate the usage on the Linux / Unix platform.

Basic usage:

/opt/nessus/bin/nasl trendmicro_serverprotect_multiple.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a trendmicro_serverprotect_multiple.nasl -t <IP/HOST>

Run the plugin with trace script execution written to the console (useful for debugging):

/opt/nessus/bin/nasl -T - trendmicro_serverprotect_multiple.nasl -t <IP/HOST>

Run the plugin with using a state file for the target and updating it (useful for running multiple plugins on the target):

/opt/nessus/bin/nasl -K /tmp/state trendmicro_serverprotect_multiple.nasl -t <IP/HOST>

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: See also: Similar and related Nessus plugins:
  • 149094 - Trend Micro Apex One Multiple Vulnerabilities (000263632)
  • 154960 - Trend Micro Apex One Multiple Vulnerabilities (000287819)
  • 62628 - Trend Micro Control Manager AdHocQuery_Processor.aspx id Parameter SQL Injection
  • 66811 - Trend Micro DirectPass < 1.6.0.1015 Multiple Vulnerabilities
  • 55456 - Trend Micro Data Loss Prevention Virtual Appliance Encoded Traversal Arbitrary File Access
  • 139030 - Trend Micro InterScan Web Security Virtual Appliance (IWSVA) Multiple Vulnerabilities (000253095)
  • 104273 - Trend Micro IWSVA 6.5 < 6.5 Build 1737 Multiple Vulnerabilities
  • 99248 - Trend Micro IWSVA 6.5 < 6.5 Build 1746 Multiple Vulnerabilities
  • 133269 - Trend Micro OfficeScan Directory Traversal Vulnerability (000151730)
  • 134629 - Trend Micro OfficeScan Multiple Vulnerabilities (000245571)
  • 149064 - Trend Micro OfficeScan Multiple Vulnerabilities (000263632)
  • 154962 - Trend Micro OfficeScan 10 SP1 < 10 SP1 Patch 2329 Multiple Vulnerabilities (000287815)
  • 103968 - Trend Micro OfficeScan cgiShowClientAdm Remote Memory Corruption
  • 34490 - Trend Micro OfficeScan HTTP Request Remote Buffer Overflow
  • 24683 - Trend Micro OfficeScan OfficeScanSetupINI.dll Remote Buffer Overflow
  • 25171 - Trend Micro ServerProtect AgRpcCln.dll Buffer Overflow
  • 25172 - Trend Micro ServerProtect EarthAgent RPC Request Remote Buffer Overflow
  • 29724 - Trend Micro ServerProtect for Windows (SpntSvc.exe) StRpcSrv.dll Arbitrary Remote Code Execution
  • 25925 - Trend Micro ServerProtect Multiple Remote Overflows
  • 107224 - Trend Micro Smart Protection Server Session Hijacking Via Log File Disclosure
  • 104354 - Trend Micro ScanMail for Exchange 12.x < SP1 Patch 1 CP1755
  • 49707 - Trend Micro Internet Security Pro UfProxyBrowserCtrl ActiveX extSetOwner Function Arbitrary Code Execution
  • 154961 - Trend Micro Worry-Free Business Security (WFBS) 10.0 SP1 < 10.0 SP1 Patch 2329 Multiple Vulnerabilities (000287820)
  • 57765 - Trend Micro Control Manager CmdProcessor.exe Remote Buffer Overflow (uncredentialed check)
  • 57062 - Trend Micro Control Manager CmdProcessor.exe Remote Buffer Overflow

Version


This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file trendmicro_serverprotect_multiple.nasl version 1.22. For more plugins, visit the Nessus Plugin Library.

Go back to menu.