Lucene search
+L

RaidenHTTPD Cross Site Scripting and Local File Include Vulnerabilities

🗓️ 26 Jul 2009 00:00:00Reported by Copyright (C) 2009 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 26 Views

RaidenHTTPD Cross Site Scripting and Local File Include Vulnerabilities. Application fails to sanitize user input, affecting WebAdmin component. Versions 2.0 build 26 and prior affected

Refs
Code
# SPDX-FileCopyrightText: 2009 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.100245");
  script_version("2023-07-27T05:05:08+0000");
  script_tag(name:"last_modification", value:"2023-07-27 05:05:08 +0000 (Thu, 27 Jul 2023)");
  script_tag(name:"creation_date", value:"2009-07-26 19:54:54 +0200 (Sun, 26 Jul 2009)");
  script_tag(name:"cvss_base", value:"4.3");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:N/A:N");
  script_name("RaidenHTTPD Cross Site Scripting and Local File Include Vulnerabilities");
  script_tag(name:"qod_type", value:"remote_banner");
  script_category(ACT_GATHER_INFO);
  script_family("Web Servers");
  script_copyright("Copyright (C) 2009 Greenbone AG");
  script_dependencies("gb_get_http_banner.nasl");
  script_require_ports("Services/www", 80);
  script_mandatory_keys("RaidenHTTPD/banner");

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

  script_tag(name:"solution", value:"The vendor has released an update to address these issues. Please see
  the references for more information.");

  script_tag(name:"summary", value:"RaidenHTTPD is prone to local file-include and cross-site scripting
  vulnerabilities because the application fails to properly sanitize user-
  supplied input. These issues affect the WebAdmin component.");

  script_tag(name:"impact", value:"An attacker may leverage the cross-site scripting issue to execute
  arbitrary script code in the browser of an unsuspecting user in the context of the affected site.
  This may allow the attacker to steal cookie-based authentication credentials and to launch other attacks.

  Exploiting the local file-include issue allows remote attackers to
  view and subsequently execute local files within the context of the webserver process.");

  script_tag(name:"affected", value:"RaidenHTTPD 2.0 build 26 and prior versions are affected.");

  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/35781");
  script_xref(name:"URL", value:"http://raidenhttpd.com/changelog.txt");

  exit(0);
}

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

port = http_get_port(default:80);

version = http_get_remote_headers(port: port);
if(!version)
  exit(0);

if(!matches = eregmatch(string:version, pattern:"Server: RaidenHTTPD/([0-9.]+)"))
  exit(0);

vers = matches[1];

if(!isnull(vers)) {
  if(version_is_less_equal(version: vers, test_version: "2.0.26")) {
    report = report_fixed_ver(installed_version:vers, vulnerable_range:"Less than or equal to 2.0.26");
    security_message(port: port, data: report);
    exit(0);
  }
}

exit(0);

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