VX Search HTTP POST Request Handling Remote Stack Buffer Overflow - Nessus

High   Plugin ID: 110557

This page contains detailed information about the VX Search HTTP POST Request Handling Remote Stack Buffer Overflow Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 110557
Name: VX Search HTTP POST Request Handling Remote Stack Buffer Overflow
Filename: vxsearch_10_6.nasl
Vulnerability Published: 2016-10-06
This Plugin Published: 2018-06-15
Last Modification Time: 2019-11-04
Plugin Version: 1.6
Plugin Type: remote
Plugin Family: CGI abuses
Dependencies: flexense_detect.nbin
Required KB Items [?]: installed_sw/VX Search

Vulnerability Information


Severity: High
Vulnerability Published: 2016-10-06
Patch Published: 2016-10-06
CVE [?]: CVE-2017-7310
CPE [?]: cpe:/a:flexense:vxsearch

Synopsis

The remote host is affected by a buffer overflow vulnerability.

Description

VX Search product contains an overflow condition that is triggered when handling overly large HTTP POST requests e.g. sent to /login. This may allow a remote attacker to cause a stack-based buffer overflow and execute arbitrary code.

Solution

Upgrade to VX Search 10.6 or later.

Public Exploits


Target Network Port(s): 80
Target Asset(s): Services/www
Exploit Available: True (Metasploit Framework, Exploit-DB, Core Impact)
Exploit Ease: Exploits are available

Here's the list of publicly known exploits and PoCs for verifying the VX Search HTTP POST Request Handling Remote Stack Buffer Overflow vulnerability:

  1. Metasploit: exploit/windows/fileformat/syncbreeze_xml
    [Sync Breeze Enterprise 9.5.16 - Import Command Buffer Overflow]
  2. Metasploit: exploit/windows/fileformat/dupscout_xml
    [Dup Scout Enterprise v10.4.16 - Import Command Buffer Overflow]
  3. Exploit-DB: exploits/windows/local/43875.rb
    [EDB-43875: Sync Breeze Enterprise 9.5.16 - 'Import Command' Buffer Overflow (Metasploit)]
  4. Exploit-DB: exploits/windows/remote/40455.py
    [EDB-40455: VX Search Enterprise 9.0.26 - 'Login' Remote Buffer Overflow]
  5. Exploit-DB: exploits/windows/remote/44157.py
    [EDB-44157: Disk Pulse Enterprise 10.4.18 - 'Import Command' Buffer Overflow (SEH)]

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-7310
CVSS V2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P/E:F/RL:OF/RC:C
CVSS Base Score:6.8 (Medium)
Impact Subscore:6.4
Exploitability Subscore:8.6
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:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:F/RL:O/RC:C
CVSS Base Score:7.8 (High)
Impact Subscore:5.9
Exploitability Subscore:1.8
CVSS Temporal Score:7.2 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:7.2 (High)

Go back to menu.

Plugin Source


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

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




include("compat.inc");

if (description)
{
  script_id(110557);
  script_version("1.6");
  script_cvs_date("Date: 2019/11/04");

  script_cve_id("CVE-2017-7310");
  script_xref(name:"EDB-ID", value:"40455");

  script_name(english:"VX Search HTTP POST Request Handling Remote Stack Buffer Overflow");
  script_summary(english:"The remote host is affected by a buffer overflow vulnerability.");

  script_set_attribute(attribute:"synopsis", value:
"The remote host is affected by a buffer overflow vulnerability.");
  script_set_attribute(attribute:"description", value:
"VX Search product contains an overflow condition that is triggered
   when handling overly large HTTP POST requests e.g. sent to /login. 
   This may allow a remote attacker to cause a stack-based buffer 
   overflow and execute arbitrary code.");
  # https://packetstormsecurity.com/files/138995/VX-Search-Enterprise-9.0.26-Buffer-Overflow.html
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?91a4ce40");
  script_set_attribute(attribute:"see_also", value:"https://vxsearch.com");
  script_set_attribute(attribute:"solution", value:
"Upgrade to VX Search 10.6 or later.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P");
  script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:F/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2017-7310");

  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:'Sync Breeze Enterprise 9.5.16 - Import Command Buffer Overflow');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");

  script_set_attribute(attribute:"vuln_publication_date", value:"2016/10/06");
  script_set_attribute(attribute:"patch_publication_date", value:"2016/10/06");
  script_set_attribute(attribute:"plugin_publication_date", value:"2018/06/15");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:flexense:vxsearch");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"CGI abuses");

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

  script_dependencies("flexense_detect.nbin");
  script_require_keys("installed_sw/VX Search");
  script_require_ports("Services/www", 80);

  exit(0);
}

include("http.inc");
include("vcf.inc");

appname = 'VX Search';

get_install_count(app_name:appname, exit_if_zero:TRUE);

port = get_http_port(default:80);

app_info = vcf::get_app_info(app:appname, port:port, webapp:TRUE);

constraints = [
  { "min_version" : "1.0", "max_version" : "10.5", "fixed_version" : "10.6" }
];

vcf::check_version_and_report(app_info:app_info, constraints:constraints, severity:SECURITY_WARNING);

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

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

Go back to menu.

How to Run


Here is how to run the VX Search HTTP POST Request Handling Remote Stack Buffer Overflow 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 CGI abuses plugin family.
  6. On the right side table select VX Search HTTP POST Request Handling Remote Stack Buffer Overflow plugin ID 110557.
  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 vxsearch_10_6.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

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

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

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

Go back to menu.

References


See also: Similar and related Nessus plugins:
  • 76311 - Ericom AccessNow Server < 3.3.1.4095 Stack-Based Buffer Overflow
  • 63563 - Nagios Core history.cgi Multiple Parameter Buffer Overflow
  • 69348 - PHP 5.5.x < 5.5.1 xml.c Buffer Overflow
  • 109579 - PHP 7.2.x < 7.2.5 Stack Buffer Overflow
  • 25681 - SAP DB / MaxDB Web Server DBM_INTERN_TEST Event Buffer Overflow
  • 25117 - XAMPP ADOdb mssql_connect Remote Buffer Overflow

Version


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

Go back to menu.