Trend Micro ScanMail for Exchange 12.x < SP1 Patch 1 CP1755 - Nessus

High   Plugin ID: 104354

This page contains detailed information about the Trend Micro ScanMail for Exchange 12.x < SP1 Patch 1 CP1755 Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 104354
Name: Trend Micro ScanMail for Exchange 12.x < SP1 Patch 1 CP1755
Filename: trendmicro_smex_12_0_0_1755.nasl
Vulnerability Published: 2017-10-26
This Plugin Published: 2017-11-02
Last Modification Time: 2019-11-12
Plugin Version: 1.5
Plugin Type: local
Plugin Family: Windows
Dependencies: trendmicro_smex_installed.nbin
Required KB Items [?]: installed_sw/Trend Micro ScanMail for Exchange, SMB/Registry/Enumerated

Vulnerability Information


Severity: High
Vulnerability Published: 2017-10-26
Patch Published: 2017-10-26
CVE [?]: CVE-2017-14090, CVE-2017-14091, CVE-2017-14092, CVE-2017-14093
CPE [?]: cpe:/a:trend_micro:scanmail

Synopsis

The remote Windows host has an email security application installed with multiple vulnerabilities.

Description

The version of Trend Micro ScanMail for Exchange (SMEX) installed on the remote Windows host is affected by multiple vulnerabilities, including cross-site scripting (XSS) and weak anti cross-site request forgery (CSRF).

Solution

Apply SP1 Patch 1 CP1755 as referenced in the advisory.

Public Exploits


Target Network Port(s): 139, 445
Target Asset(s): N/A
Exploit Available: True (GitHub)
Exploit Ease: Exploits (PoCs) are available

Here's the list of publicly known exploits and PoCs for verifying the Trend Micro ScanMail for Exchange 12.x < SP1 Patch 1 CP1755 vulnerability:

  1. GitHub: https://github.com/lean0x2F/lean0x2f.github.io
    [CVE-2017-14090]
  2. GitHub: https://github.com/lean0x2F/lean0x2f.github.io
    [CVE-2017-14091]
  3. GitHub: https://github.com/lean0x2F/lean0x2f.github.io
    [CVE-2017-14092]
  4. GitHub: https://github.com/lean0x2F/lean0x2f.github.io
    [CVE-2017-14093]

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 Score Source [?]: CVE-2017-14091
CVSS V2 Vector: AV:N/AC:H/Au:N/C:C/I:C/A:C/E:U/RL:OF/RC:C
CVSS Base Score:7.6 (High)
Impact Subscore:10.0
Exploitability Subscore:4.9
CVSS Temporal Score:5.6 (Medium)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:5.6 (Medium)
CVSS V3 Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
CVSS Base Score:7.5 (High)
Impact Subscore:5.9
Exploitability Subscore:1.6
CVSS Temporal Score:6.5 (Medium)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:6.5 (Medium)

Go back to menu.

Plugin Source


This is the trendmicro_smex_12_0_0_1755.nasl nessus plugin source code. This script is Copyright (C) 2017-2019 and is owned by Tenable, Inc. or an Affiliate thereof.

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

include("compat.inc");

if (description)
{
  script_id(104354);
  script_version("1.5");
  script_cvs_date("Date: 2019/11/12");

  script_cve_id(
    "CVE-2017-14090",
    "CVE-2017-14091",
    "CVE-2017-14092",
    "CVE-2017-14093"
  );

  script_name(english:"Trend Micro ScanMail for Exchange 12.x < SP1 Patch 1 CP1755");
  script_summary(english:"Checks the version of Trend Micro ScanMail.");

  script_set_attribute(attribute:"synopsis", value:
"The remote Windows host has an email security application installed
with multiple vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"The version of Trend Micro ScanMail for Exchange (SMEX) installed on
the remote Windows host is affected by multiple vulnerabilities,
including cross-site scripting (XSS) and weak anti cross-site request
forgery (CSRF).");
  # https://success.trendmicro.com/solution/1118486-security-bulletin-trend-micro-scanmail-for-exchange-12-0-multiple-vulnerabilities
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?2cbee04e");
  # https://www.secureauth.com/labs/advisories/trend-micro-scanmail-microsoft-exchange-multiple-vulnerabilities
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?386d498e");
  script_set_attribute(attribute:"solution", value:
"Apply SP1 Patch 1 CP1755 as referenced in the advisory.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:H/Au:N/C:C/I:C/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2017-14091");

  script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"false");

  script_set_attribute(attribute:"vuln_publication_date", value:"2017/10/26");
  script_set_attribute(attribute:"patch_publication_date", value:"2017/10/26");
  script_set_attribute(attribute:"plugin_publication_date", value:"2017/11/02");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:trend_micro:scanmail");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Windows");

  script_copyright(english:"This script is Copyright (C) 2017-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("trendmicro_smex_installed.nbin");
  script_require_keys("installed_sw/Trend Micro ScanMail for Exchange", "SMB/Registry/Enumerated");
  script_require_ports(139, 445);

  exit(0);
}

include("audit.inc");
include("smb_func.inc");
include("smb_hotfixes.inc");
include("smb_reg_query.inc");
include("smb_hotfixes_fcheck.inc");
include("misc_func.inc");
include("install_func.inc");

get_kb_item_or_exit("SMB/Registry/Enumerated");

appname = 'Trend Micro ScanMail for Exchange';
install = get_single_install(app_name:appname,exit_if_unknown_ver:TRUE);
version = install["version"];
patch   = int(install["Patch Build"]);
spack   = int(install["Service Pack"]);
path    = install["path"];
dllfix  = FALSE;
port    = kb_smb_transport();

if(version =~ "^12\.0\.")
  dllfix = "12.0.0.1755";
else
  audit(AUDIT_INST_PATH_NOT_VULN, appname, version, path);

# File Check
dll = hotfix_append_path(path:path, value:"servPolicyController.dll");
dllver = hotfix_get_fversion(path:dll);
hotfix_handle_error(
  error_code   : dllver['error'], 
  file         : dll, 
  appname      : appname, 
  exit_on_fail : TRUE
);
dllver = join(dllver['value'], sep:'.');
hotfix_check_fversion_end();

if(ver_compare(ver:dllver,fix:dllfix,strict:FALSE) < 0)
{
  report =
  '\n  File              : ' + dll +
  '\n  Installed version : ' + dllver +
  '\n  Fixed version     : ' + dllfix + '\n';
  security_report_v4(port:port, severity:SECURITY_HOLE, extra:report, xss:TRUE, xsrf:TRUE);
  exit(0);
}
else audit(AUDIT_INST_PATH_NOT_VULN, appname, version, path);

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

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

Go back to menu.

How to Run


Here is how to run the Trend Micro ScanMail for Exchange 12.x < SP1 Patch 1 CP1755 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 Windows plugin family.
  6. On the right side table select Trend Micro ScanMail for Exchange 12.x < SP1 Patch 1 CP1755 plugin ID 104354.
  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_smex_12_0_0_1755.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

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

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

/opt/nessus/bin/nasl -T - trendmicro_smex_12_0_0_1755.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_smex_12_0_0_1755.nasl -t <IP/HOST>

Go back to menu.

References


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
  • 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
  • 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)
  • 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
  • 24680 - Trend Micro ServerProtect TmRpcSrv.dll RPC Request Multiple Overflows
  • 107224 - Trend Micro Smart Protection Server Session Hijacking Via Log File Disclosure
  • 57062 - Trend Micro Control Manager CmdProcessor.exe Remote Buffer Overflow
  • 57765 - Trend Micro Control Manager CmdProcessor.exe Remote Buffer Overflow (uncredentialed check)

Version


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

Go back to menu.