Lucene search

K
openvasCopyright (C) 2011 Greenbone AGOPENVAS:1361412562310802350
HistoryDec 02, 2011 - 12:00 a.m.

Mbedthis AppWeb HTTP TRACE Method Cross-Site Scripting Vulnerability

2011-12-0200:00:00
Copyright (C) 2011 Greenbone AG
plugins.openvas.org
59

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

EPSS

0.002

Percentile

65.0%

Mbedthis AppWeb Server is prone to a cross-site scripting (XSS) vulnerability.

# SPDX-FileCopyrightText: 2011 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.802350");
  script_version("2023-07-28T05:05:23+0000");
  script_cve_id("CVE-2007-3008");
  script_tag(name:"cvss_base", value:"4.3");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:P/A:N");
  script_tag(name:"last_modification", value:"2023-07-28 05:05:23 +0000 (Fri, 28 Jul 2023)");
  script_tag(name:"creation_date", value:"2011-12-02 14:47:36 +0530 (Fri, 02 Dec 2011)");
  script_name("Mbedthis AppWeb HTTP TRACE Method Cross-Site Scripting Vulnerability");
  script_xref(name:"URL", value:"http://secunia.com/advisories/25636");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/24456");
  script_xref(name:"URL", value:"http://www.kb.cert.org/vuls/id/867593");
  script_xref(name:"URL", value:"http://xforce.iss.net/xforce/xfdb/34854");
  script_xref(name:"URL", value:"http://www.appwebserver.org/forum/viewtopic.php?t=996");

  script_category(ACT_ATTACK);
  script_copyright("Copyright (C) 2011 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("find_service.nasl", "httpver.nasl", "global_settings.nasl");
  script_require_ports("Services/www", 7777);
  script_exclude_keys("Settings/disable_cgi_scanning");

  script_tag(name:"impact", value:"Successful exploitation could allow attackers to gain sensitive information
  or inject arbitrary web script or HTML. This may allow the attacker to steal
  cookie-based authentication credentials and to launch other attacks.");

  script_tag(name:"affected", value:"Mbedthis AppWeb versions prior to 2.2.2");

  script_tag(name:"insight", value:"The flaw is due to improper handling of HTTP requests using the
  'TRACE' method, which allows attackers to inject arbitrary HTML via
  crafted HTTP TRACE request.");

  script_tag(name:"solution", value:"Disable TRACE method or upgrade to Mbedthis AppWeb 2.2.2 or later");

  script_tag(name:"summary", value:"Mbedthis AppWeb Server is prone to a cross-site scripting (XSS) vulnerability.");

  script_tag(name:"solution_type", value:"VendorFix");
  script_tag(name:"qod_type", value:"remote_vul");

  exit(0);
}

include("http_func.inc");
include("http_keepalive.inc");
include("port_service_func.inc");

port = http_get_port(default:7777);
host = http_host_name(port:port);

res = http_get_cache(item:"/doc/product/index.html", port:port);

if("<title>Mbedthis AppWeb" >< res || "<title>Mbedthis Appweb" >< res)
{
  req = string("TRACE /doc/product/index.html HTTP/1.1\r\n",
               "Host: ", host, "\r\n\r\n");
  res = http_send_recv(port:port, data:req);

  if(egrep(pattern:"^HTTP/1\.[01] 200", string:res) && "TRACE" >< res &&
                   "UnknownMethod 400 Bad Request" >!< res){
    security_message(port:port);
  }
}

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

EPSS

0.002

Percentile

65.0%