Lucene search

K
openvasCopyright (C) 2015 Greenbone AGOPENVAS:1361412562310805335
HistoryFeb 09, 2015 - 12:00 a.m.

Splunk 6.0.x < 6.0.6, 6.1.x < 6.1.4 XSS Vulnerability

2015-02-0900:00:00
Copyright (C) 2015 Greenbone AG
plugins.openvas.org
13

5.7 Medium

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

45.6%

Splunk is prone to a cross-site scripting (XSS) vulnerability.

# SPDX-FileCopyrightText: 2015 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

CPE = "cpe:/a:splunk:splunk";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.805335");
  script_version("2024-01-25T14:38:15+0000");
  script_tag(name:"last_modification", value:"2024-01-25 14:38:15 +0000 (Thu, 25 Jan 2024)");
  script_tag(name:"creation_date", value:"2015-02-09 11:43:09 +0530 (Mon, 09 Feb 2015)");
  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_cve_id("CVE-2014-8303");

  script_tag(name:"qod_type", value:"remote_banner");

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

  script_name("Splunk 6.0.x < 6.0.6, 6.1.x < 6.1.4 XSS Vulnerability");

  script_category(ACT_GATHER_INFO);

  script_copyright("Copyright (C) 2015 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_splunk_http_detect.nasl");
  script_mandatory_keys("splunk/detected");

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

  script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");

  script_tag(name:"insight", value:"XSS due to improper validation of user-supplied input passed
  via the vector related to event parsing.");

  script_tag(name:"impact", value:"Successful exploitation will allow remote attackers to execute
  arbitrary HTML and script code in a user's browser session in the context of an affected site.");

  script_tag(name:"affected", value:"Splunk version 6.0.x prior to 6.0.6 and 6.1.x prior to 6.1.4.");

  script_tag(name:"solution", value:"Update to version 6.0.6, 6.1.4 or later.");

  script_xref(name:"URL", value:"http://www.securitytracker.com/id/1030994");
  script_xref(name:"URL", value:"http://www.splunk.com/view/SP-CAAANHS#announce3");

  exit(0);
}

include("host_details.inc");
include("version_func.inc");

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

if (!infos = get_app_version_and_location(cpe: CPE, port: port, exit_no_version: TRUE))
  exit(0);

version = infos["version"];
location = infos["location"];

if (version_in_range(version: version, test_version: "6.0.0", test_version2:"6.0.5"))
  fix = "6.0.6";

if (version_in_range(version: version, test_version: "6.1.0", test_version2:"6.1.3"))
  fix = "6.1.4";

if (fix) {
  report = report_fixed_ver(installed_version: version, fixed_version: fix, install_path: location);
  security_message(port: port, data: report);
  exit(0);
}

exit(99);

5.7 Medium

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

45.6%

Related for OPENVAS:1361412562310805335