Lucene search

K
openvasCopyright (C) 2005 David MaciejakOPENVAS:136141256231016315
HistoryNov 03, 2005 - 12:00 a.m.

Mambo Site Server XSS and remote arbitrary code execution

2005-11-0300:00:00
Copyright (C) 2005 David Maciejak
plugins.openvas.org
6

6.4 Medium

AI Score

Confidence

High

6.8 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

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

0.031 Low

EPSS

Percentile

91.0%

An attacker may use the installed version of Mambo Site Server to
perform a cross site scripting attack on this host or execute arbitrary
code through the gallery image uploader under the administrator directory.

# SPDX-FileCopyrightText: 2005 David Maciejak
# 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

CPE = "cpe:/a:mambo-foundation:mambo";

if (description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.16315");
  script_version("2023-08-01T13:29:10+0000");
  script_tag(name:"last_modification", value:"2023-08-01 13:29:10 +0000 (Tue, 01 Aug 2023)");
  script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
  script_cve_id("CVE-2003-1204");
  script_tag(name:"cvss_base", value:"6.8");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:P/A:P");

  script_name("Mambo Site Server XSS and remote arbitrary code execution");

  script_category(ACT_ATTACK);
  script_tag(name:"qod_type", value:"remote_vul");
  script_family("Web application abuses");
  script_copyright("Copyright (C) 2005 David Maciejak");
  script_dependencies("mambo_detect.nasl", "cross_site_scripting.nasl");
  script_mandatory_keys("mambo_cms/detected");
  script_require_ports("Services/www", 80);

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

  script_tag(name:"solution", value:"Upgrade to the latest version of this software.");

  script_tag(name:"summary", value:"An attacker may use the installed version of Mambo Site Server to
  perform a cross site scripting attack on this host or execute arbitrary
  code through the gallery image uploader under the administrator directory.");

  script_xref(name:"URL", value:"http://www.securityfocus.com/archive/1/306206");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/6571");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/6572");

  exit(0);
}

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

if (!port = get_app_port(cpe: CPE))
  exit(0);

if (!dir = get_app_location(cpe: CPE, port: port))
  exit(0);

if (dir == "/")
  dir = "";

url = dir + "/themes/mambosimple.php?detection=detected&sitename=</title><script>foo</script>";
req = http_get(item:url, port:port);
resp = http_keepalive_send_recv(port:port, data:req);
if (!resp)
  exit(0);

if (resp =~ "HTTP/1\.. 200" && '<a href="?detection=detected&sitename=</title><script>foo</script>' >< resp ) {
  security_message(port);
  exit(0);
}

exit(99);

6.4 Medium

AI Score

Confidence

High

6.8 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

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

0.031 Low

EPSS

Percentile

91.0%

Related for OPENVAS:136141256231016315