Lucene search
K

Spiceworks HTTP Response Accept Header Handling Overflow DoS

🗓️ 11 Aug 2009 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 23 Views

Spiceworks HTTP Buffer Overflow Vulnerabilit

Refs
Code
#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#


include('deprecated_nasl_level.inc');
include('compat.inc');


if (description)
{
  script_id(40552);
  script_version("1.12");
  script_set_attribute(attribute:"plugin_modification_date", value:"2021/01/19");

  script_bugtraq_id(43246);

  script_xref(name:"EDB-ID", value:"9401");

  script_name(english:"Spiceworks HTTP Response Accept Header Handling Overflow DoS");
  script_summary(english:"Grabs version from login page");
 
  script_set_attribute(
    attribute:"synopsis",
    value:
"The remote host has an application that is affected by a buffer
overflow vulnerability."
  );
  script_set_attribute(
    attribute:"description", 
    value:
"The remote host is running Spiceworks IT Desktop, an application used
to inventory, monitor, manage and report on software and hardware
assets in small and medium-sized businesses.

The installed version of Spiceworks is earlier than 4.0.  Such
versions are reportedly affected by a buffer overflow that can be
triggered by sending an overly long 'Accept' request header.  An
anonymous remote attacker may be able to leverage this issue to
execute arbitrary code on the remote host, subject to the privileges
under which the application runs."
  );
  script_set_attribute(
    attribute:"see_also", 
    value:"https://twitter.com/Spiceworks/status/3183604568"
  );
  script_set_attribute(attribute:"solution", value:"Upgrade to Spiceworks 4.0 or later.");
  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:POC/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:"vuln_publication_date", value:"2009/08/07");
  script_set_attribute(attribute:"patch_publication_date", value:"2009/06/16");
  script_set_attribute(attribute:"plugin_publication_date", value:"2009/08/11");
  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_end_attributes();

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

  script_copyright(english:"This script is Copyright (C) 2009-2021 Tenable Network Security, Inc.");

  script_dependencies("http_version.nasl");
  script_require_ports("Services/www", 9675);

  exit(0);
}


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


port = get_http_port(default:9675, embedded: 0);

# Grab the login page.
url = "/login";

res = http_send_recv3(method:"GET", item:url, port:port, exit_on_fail: 1);

if ('<title>Spiceworks - Login' >< res[2])
{
  # Version info is included in links to .js and .css files.
  pat = '"/(javascripts/[^.]+\\.js|stylesheets/[^.]+\\.css)\\?([0-9]+)"';
  version = NULL;

  matches = egrep(pattern:pat, string:res[2]);
  if (matches)
  {
    foreach match (split(matches, keep:FALSE))
    {
      item = eregmatch(pattern:pat, string:match);
      if (!isnull(item))
      {
        version = item[2];
        break;
      }
    }
  }

  if (!isnull(version))
  {
    if (
      (strlen(version) == 7 && int(version[0]) < 4) ||
      egrep(pattern:'Copyright &copy; 2006(-0[78])? <', string:res[2])
    )
    {
      if (report_verbosity > 0)
      {
        report = '\n';
        if (strlen(version) == 7)
        {
          report += '  Version : ' + version[0] + "." + version[1] + "." + substr(version, 2) + '\n';
        }
        report += '  URL     : ' + build_url(port:port, qs:url) + '\n';

        security_hole(port:port, extra:report);
      }
      else security_hole(port);
    }
    else exit(0, "The remote Spiceworks install is not affected.");
  }
}

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

19 Jan 2021 00:00Current
6.4Medium risk
Vulners AI Score6.4
23