Vulnerabilities > CVE-2015-2098 - Classic Buffer Overflow vulnerability in Webgateinc Edvr Manager

047910
CVSS 8.8 - HIGH
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
HIGH
Integrity impact
HIGH
Availability impact
HIGH
network
low complexity
webgateinc
CWE-120
nessus
exploit available

Summary

Multiple stack-based buffer overflows in WebGate eDVR Manager allow remote attackers to execute arbitrary code via unspecified vectors to the (1) Connect, (2) ConnectEx, or (3) ConnectEx2 function in the WESPEvent.WESPEventCtrl.1 control; (4) AudioOnlySiteChannel function in the WESPPlayback.WESPPlaybackCtrl.1 control; (5) Connect or (6) ConnectEx function in the WESPPTZ.WESPPTZCtrl.1 control; (7) SiteChannel property in the WESPPlayback.WESPPlaybackCtrl.1 control; (8) SiteName property in the WESPPlayback.WESPPlaybackCtrl.1 control; or (9) OpenDVrSSite function in the WESPPTZ.WESPPTZCtrl.1 control.

Vulnerable Configurations

Part Description Count
Application
Webgateinc
1

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.

Exploit-Db

  • descriptionWebGate eDVR Manager 2.6.4 - SiteName Stack Overflow. CVE-2015-2098. Remote exploit for windows platform
    idEDB-ID:36519
    last seen2016-02-04
    modified2015-03-27
    published2015-03-27
    reporterPraveen Darshanam
    sourcehttps://www.exploit-db.com/download/36519/
    titleWebGate eDVR Manager 2.6.4 - SiteName Stack Overflow
  • descriptionWebGate eDVR Manager 2.6.4 AudioOnlySiteChannel Stack Buffer Overflow. CVE-2015-2098. Remote exploit for windows platform
    idEDB-ID:36603
    last seen2016-02-04
    modified2015-04-02
    published2015-04-02
    reporterPraveen Darshanam
    sourcehttps://www.exploit-db.com/download/36603/
    titleWebGate eDVR Manager 2.6.4 AudioOnlySiteChannel Stack Buffer Overflow
  • descriptionWebGate eDVR Manager 2.6.4 SiteChannel Property Stack Buffer Overflow. CVE-2015-2098. Remote exploit for windows platform
    idEDB-ID:36606
    last seen2016-02-04
    modified2015-04-02
    published2015-04-02
    reporterPraveen Darshanam
    sourcehttps://www.exploit-db.com/download/36606/
    titleWebGate eDVR Manager 2.6.4 SiteChannel Property Stack Buffer Overflow

Nessus

NASL familyWindows
NASL idWEBGATE_ACTIVEX_MULTIPLE_BUFFER_OVERFLOWS.NASL
descriptionThe remote host contains one or more of the following WEBGATE ActiveX controls : - Control Center : - FileConverter.FileConverterCtrl.1 - LoginContoller.LoginControllerCtrl.1 - WESPDiscovery.WESPDiscoveryCtrl.1 - WESPPlayback.WESPPlaybackCtrl.1 - eDVR Manager : - WESPDiscovery.WESPDiscoveryCtrl.1 - WESPEvent.WESPEventCtrl.1 - WESPMonitor.WESPMonitorCtrl.1 - WESPPTZ.WESPPTZCtrl.1 - WESPPlayback.WESPPlaybackCtrl.1 - WESPSerialPort.WESPSerialPortCtrl.1 - Web Camera Server Audio : - WebEyeAudio.OCX - WinRDS : - WESPPlayback.WESPPlaybackCtrl.1 These controls are reportedly affected by multiple buffer overflows that allow an attacker to execute arbitrary code.
last seen2020-06-01
modified2020-06-02
plugin id81702
published2015-03-09
reporterThis script is Copyright (C) 2015-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
sourcehttps://www.tenable.com/plugins/nessus/81702
titleWEBGATE ActiveX Controls Multiple Buffer Overflows
code
#
#  (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
  script_id(81702);
  script_version("1.8");
  script_cvs_date("Date: 2019/11/22");

  script_cve_id(
    "CVE-2015-2093",
    "CVE-2015-2094",
    "CVE-2015-2095",
    "CVE-2015-2096",
    "CVE-2015-2097",
    "CVE-2015-2098",
    "CVE-2015-2099",
    "CVE-2015-2100"
  );
  script_bugtraq_id(
    72834,
    72835,
    72838,
    72839,
    72841,
    72843,
    72849
  );

  script_name(english:"WEBGATE ActiveX Controls Multiple Buffer Overflows");
  script_summary(english:"Checks version of affected ActiveX controls.");

  script_set_attribute(attribute:"synopsis", value:
"The remote Windows host contains at least one ActiveX control that is
affected by buffer overflow vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"The remote host contains one or more of the following WEBGATE ActiveX
controls :

  - Control Center :
    - FileConverter.FileConverterCtrl.1
    - LoginContoller.LoginControllerCtrl.1
    - WESPDiscovery.WESPDiscoveryCtrl.1
    - WESPPlayback.WESPPlaybackCtrl.1

  - eDVR Manager :
    - WESPDiscovery.WESPDiscoveryCtrl.1
    - WESPEvent.WESPEventCtrl.1
    - WESPMonitor.WESPMonitorCtrl.1
    - WESPPTZ.WESPPTZCtrl.1
    - WESPPlayback.WESPPlaybackCtrl.1
    - WESPSerialPort.WESPSerialPortCtrl.1

  - Web Camera Server Audio :
    - WebEyeAudio.OCX

  - WinRDS :
    - WESPPlayback.WESPPlaybackCtrl.1

These controls are reportedly affected by multiple buffer overflows
that allow an attacker to execute arbitrary code.");
  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-15-054/");
  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-15-055/");
  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-15-056/");
  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-15-057/");
  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-15-058/");
  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-15-059/");
  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-15-060/");
  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-15-061/");
  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-15-062/");
  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-15-063/");
  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-15-064/");
  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-15-065/");
  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-15-066/");
  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-15-067/");
  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-15-068/");
  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-15-069/");
  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-15-070/");
  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-15-071/");
  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-15-072/");
  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-15-073/");
  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-15-074/");
  script_set_attribute(attribute:"solution", value:
"Disable the offending ActiveX controls or uninstall the software that
provided the controls.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
  script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2015-2097");

  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:"vuln_publication_date", value:"2015/02/27");
  script_set_attribute(attribute:"plugin_publication_date", value:"2015/03/09");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"x-cpe:/a:webgateinc:control_center");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:webgateinc:edvr_manager");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:webgateinc:webeyeaudio");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:webgateinc:winrds");
  script_end_attributes();

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

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

  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");

# Locate files used by the controls.
if (activex_init() != ACX_OK) audit(AUDIT_FN_FAIL, 'activex_init');

info = "";
inst = FALSE;

clsids = make_list(
  "317AC6BB-6E8E-11D4-9BF0-005004BBFC86",
  "359742AF-BF34-4379-A084-B7BF0E5F34B0",
  "4A33C147-5243-4982-899A-A533BEDA99D1",
  "4E14C449-A61A-4BF7-8082-65A91298A6D8",
  "5A216ADB-3009-4211-AB77-F1857A99482C",
  "A13012BD-5A43-421A-B898-A6D13926210E",
  "B19147A0-C2FD-4B1F-BD20-3A3E1ABC4FC3",
  "BAAA6516-267C-466D-93F5-C504EF973837",
  "BC2CAA45-7DBB-4459-9013-3E7A2C933D21"
);

foreach clsid (clsids)
{
  file = activex_get_filename(clsid:clsid);
  if (!file) continue;

  ver = activex_get_fileversion(clsid:clsid);
  if (!ver) continue;
  else inst = TRUE;

  if (
    report_paranoia > 1
    ||
    activex_get_killbit(clsid:clsid) == 0
  )
  {
    info +=
      '\n  Class identifier  : ' + clsid +
      '\n  Filename          : ' + file  +
      '\n  Installed version : ' + ver   +
      '\n  Fixed version     : See solution.' +
      '\n';
    if (!thorough_tests) break;
  }
}
activex_end();

if (!inst) audit(AUDIT_NOT_INST, "WebGate ActiveX control");

if (info)
{
  if (report_paranoia > 1)
  {
    report = info +
      '\n' +
      'Note, though, that Nessus did not check whether the kill bit was\n' +
      'set for the control\'s CLSID because of the Report Paranoia setting\n' +
      'in effect when this scan was run.\n';
  }
  else
  {
    report = info +
      '\n' +
      'Moreover, its kill bit is not set so it is accessible via Internet\n' +
      'Explorer.\n';
  }

  if (report_verbosity > 0) security_hole(port:kb_smb_transport(), extra:report);
  else security_hole(kb_smb_transport());
}
else audit(AUDIT_INST_VER_NOT_VULN, "one or more WebGate ActiveX controls");

Packetstorm

data sourcehttps://packetstormsecurity.com/files/download/131071/webgateedvrmanager-overflow.txt
idPACKETSTORM:131071
last seen2016-12-05
published2015-03-27
reporterPraveen Darshanam
sourcehttps://packetstormsecurity.com/files/131071/WebGate-eDVR-Manager-2.6.4-SiteName-Stack-Overflow.html
titleWebGate eDVR Manager 2.6.4 SiteName Stack Overflow