EasyMail SMTP Object ActiveX Control Multiple Buffer Overflows - Nessus

High   Plugin ID: 26185

This page contains detailed information about the EasyMail SMTP Object ActiveX Control Multiple Buffer Overflows Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 26185
Name: EasyMail SMTP Object ActiveX Control Multiple Buffer Overflows
Filename: easymail_objects_smtp_activex_overflows.nasl
Vulnerability Published: 2007-08-28
This Plugin Published: 2007-09-25
Last Modification Time: 2018-11-15
Plugin Version: 1.22
Plugin Type: local
Plugin Family: Windows
Dependencies: smb_hotfixes.nasl
Required KB Items [?]: SMB/Registry/Enumerated

Vulnerability Information


Severity: High
Vulnerability Published: 2007-08-28
Patch Published: N/A
CVE [?]: CVE-2007-4607, CVE-2009-4663
CPE [?]: N/A

Synopsis

The remote Windows host has an ActiveX control that is affected by multiple buffer overflow vulnerabilities.

Description

EasyMail Objects, a set of COM objects for supporting email protocols, is installed on the remote Windows host. It may have been bundled with a third-party application, such as Oracle Document Capture, Earthlink internet access software, Borland Caliber RM Client, and FrontRange Heat.

The SMTP component of the version of this control installed on the remote host reportedly contains multiple buffer overflows involving the AddAttachment and SubmitToExpress methods that could lead to arbitrary code execution on the affected system. Successful exploitation requires, though, that an attacker trick a user on the affected host into visiting a specially crafted web page.

Solution

Either disable its use from within Internet Explorer by setting its kill bit or remove it completely.

Public Exploits


Target Network Port(s): 139, 445
Target Asset(s): N/A
Exploit Available: True (Metasploit Framework, Exploit-DB, GitHub, Core Impact)
Exploit Ease: Exploits are available

Here's the list of publicly known exploits and PoCs for verifying the EasyMail SMTP Object ActiveX Control Multiple Buffer Overflows vulnerability:

  1. Metasploit: exploit/windows/browser/oracle_dc_submittoexpress
    [Oracle Document Capture 10g ActiveX Control Buffer Overflow]
  2. Exploit-DB: exploits/windows/remote/4328.html
    [EDB-4328: Postcast Server Pro 3.0.61 / Quiksoft EasyMail - 'emsmtp.dll 6.0.1' Remote Buffer Overflow]
  3. Exploit-DB: exploits/windows/remote/9705.html
    [EDB-9705: Quiksoft EasyMail 6 - 'AddAttachment' Remote Buffer Overflow]
  4. Exploit-DB: exploits/windows/remote/16579.rb
    [EDB-16579: Oracle Document Capture 10g - ActiveX Control Buffer Overflow (Metasploit)]
  5. GitHub: https://github.com/joeyrideout/CVE-2007-4607
    [CVE-2007-4607: Make CVE-2007-4607 exploitable again!]

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:M/Au:N/C:C/I:C/A:C/E:F/RL:OF/RC:C
CVSS Base Score:9.3 (High)
Impact Subscore:10.0
Exploitability Subscore:8.6
CVSS Temporal Score:7.7 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:7.7 (High)

Go back to menu.

Plugin Source


This is the easymail_objects_smtp_activex_overflows.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(26185);
  script_version("1.22");
  script_cvs_date("Date: 2018/11/15 20:50:26");

  script_cve_id("CVE-2007-4607", "CVE-2009-4663");
  script_bugtraq_id(25467, 36440);
  script_xref(name:"CERT", value:"281977");
  script_xref(name:"EDB-ID", value:"4328");
  script_xref(name:"EDB-ID", value:"9705");

  script_name(english:"EasyMail SMTP Object ActiveX Control Multiple Buffer Overflows");
  script_summary(english:"Checks version of EasyMail SMTP Object control");

  script_set_attribute(attribute:"synopsis", value:
"The remote Windows host has an ActiveX control that is affected by
multiple buffer overflow vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"EasyMail Objects, a set of COM objects for supporting email 
protocols, is installed on the remote Windows host.  It may have been 
bundled with a third-party application, such as Oracle Document 
Capture, Earthlink internet access software, Borland Caliber RM 
Client, and FrontRange Heat.

The SMTP component of the version of this control installed on the
remote host reportedly contains multiple buffer overflows involving 
the AddAttachment and SubmitToExpress methods that could lead to 
arbitrary code execution on the affected system.  Successful 
exploitation requires, though, that an attacker trick a user on the
affected host into visiting a specially crafted web page.");
  script_set_attribute(attribute:"see_also", value:"https://www.securityfocus.com/archive/1/526440/30/0/threaded");
  script_set_attribute(attribute:"solution", value:
"Either disable its use from within Internet Explorer by setting its
kill bit or remove it completely.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:M/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:"exploit_framework_core", value:"true");
  script_set_attribute(attribute:"metasploit_name", value:'Oracle Document Capture 10g ActiveX Control Buffer Overflow');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
  script_cwe_id(119);

  script_set_attribute(attribute:"vuln_publication_date", value:"2007/08/28");
  script_set_attribute(attribute:"plugin_publication_date", value:"2007/09/25");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_end_attributes();

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

  script_dependencies("smb_hotfixes.nasl");
  script_require_keys("SMB/Registry/Enumerated");
  script_require_ports(139, 445);
  exit(0);
}

include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
include("smb_func.inc");
include("smb_activex_func.inc");


get_kb_item_or_exit("SMB/Registry/Enumerated");
if (activex_init() != ACX_OK) audit(AUDIT_FN_FAIL, 'activex_init');


# Locate the file used by the controls.
clsids = make_list(
  "{4610E7BF-710F-11D3-813D-00C04F6B92D0}",     # Borland Caliber
  "{68AC0D5F-0424-11D5-822F-00C04F6BA8D9}"
);

info = "";
installs = 0;

foreach clsid (clsids)
{
  file = activex_get_filename(clsid:clsid);
  if (isnull(file))
  {
    activex_end();
    exit(1, "activex_get_filename() returned NULL.");
  }

  if (!file) continue;

  installs++;

  # Get its version.
  version = activex_get_fileversion(clsid:clsid);
  if (isnull(version))
  {
    activex_end();
    audit(AUDIT_VER_FAIL, file);
  }

  if (version == '') version = 'unknown';

  # And check it.
  if (report_paranoia > 1 || activex_get_killbit(clsid:clsid) == 0)
  {
    info += 
      '\n  Class identifier  : ' + clsid +
      '\n  Filename          : ' + file +
      '\n  Installed version : ' + version + '\n';
  }
}
activex_end();
if (!installs) exit(0, 'None of the affected CLSIDs were found on the remote host.');


# Report findings.
if (info)
{
  # At this point, we want to know how many *vulnerable* installs there are.
  installs = max_index(split(info)) / 4;

  if (report_paranoia > 1)
  {
    if (installs == 1)
      report = info +
        '\n' +
        '\nNote, though, that Nessus did not check whether the kill bit was set' +
        '\nfor the control\'s CLSID because of the Report Paranoia setting in' +
        '\neffect when this scan was run.\n';
    else
      report = info +
        '\n' +
        '\nNote, though, that Nessus did not check whether the kill bits were set' +
        '\nfor the controls\' CLSIDs because of the Report Paranoia setting in' +
        '\neffect when this scan was run.\n';
  }
  else
  {
    if (installs == 1)
      report = info +
        '\n' +
        '\nMoreover, its kill bit is not set so it is accessible via Internet' +
        '\nExplorer.\n';
    else
      report = info +
        '\n' +
        '\nMoreover, their kill bits are not set so they are accessible via' +
        '\nInternet Explorer.\n';
  }

  if (report_verbosity > 0) security_hole(port:kb_smb_transport(), extra:report);
  else security_hole(kb_smb_transport());
  exit(0);
}
else 
{
  if (installs == 1) exit(0, 'One of the controls is installed but its kill bit is set.');
  else exit(0, 'The controls are installed but their kill bits are set.');
}

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

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

Go back to menu.

How to Run


Here is how to run the EasyMail SMTP Object ActiveX Control Multiple Buffer 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 Windows plugin family.
  6. On the right side table select EasyMail SMTP Object ActiveX Control Multiple Buffer Overflows plugin ID 26185.
  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 easymail_objects_smtp_activex_overflows.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

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

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

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

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: CERT | Computer Emergency Response Team: CWE | Common Weakness Enumeration:
  • CWE-119 (Weakness) Improper Restriction of Operations within the Bounds of a Memory Buffer
See also: Similar and related Nessus plugins:
  • 23648 - WinZip FileView ActiveX Control Vulnerabilities
  • 24909 - TestDirector (TD) for Mercury Quality Center SPIDERLib.Loader ActiveX Control (Spider90.ocx) ProgColor Property Overflow
  • 25344 - ProgramChecker sasatl.dll ActiveX Control Multiple Overflows
  • 25442 - FlipViewer ActiveX Control < 4.1 Buffer Overflow Vulnerabilities
  • 27599 - FLEXnet Connect Update Service ActiveX Control Multiple Code Execution Vulnerabilities
  • 27618 - SonicWALL SSL-VPN NetExtender NELaunchCtrl ActiveX Control Multiple Overflows
  • 29725 - HP Info Center ActiveX Control Multiple Remote Vulnerabilities
  • 29801 - IBM Lotus Domino Web Access ActiveX Control Buffer Overflow Vulnerabilities
  • 29825 - XUpload ActiveX Control AddFolder Method Buffer Overflow
  • 30152 - Facebook Photo Uploader ActiveX Control < 4.5.57.1 Multiple Buffer Overflows
  • 30205 - Yahoo! Music Jukebox ActiveX Controls Buffer Overflows
  • 30219 - MySpace Uploader ActiveX Control < 1.0.0.6 Action Property Buffer Overflow
  • 31351 - Symantec Backup Exec Calendar ActiveX Control Multiple Vulnerabilities (SYM08-007)
  • 32082 - Akamai Download Manager ActiveX Control < 2.2.3.5 Remote Code Execution
  • 33102 - Akamai Download Manager ActiveX Control < 2.2.3.6 Arbitrary File Download
  • 33859 - WebEx Meeting Manager WebexUCFObject ActiveX Control Buffer Overflow
  • 34049 - Novell iPrint Client ActiveX Control Multiple Vulnerabilities
  • 34348 - GdPicture Multiple ActiveX Control SaveAsPDF Method Arbitrary File Overwrite
  • 34472 - LPViewer ActiveX Control Multiple Buffer Overflow Vulnerabilities
  • 35403 - Symantec AppStream Client LaunchObj ActiveX Control Multiple Unsafe Methods (SYM09-001)
  • 35627 - AutoDesk LiveUpdate ActiveX Control ApplyPatch Method Execution

Version


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

Go back to menu.