Lucene search

K
openvasCopyright (C) 2015 Greenbone AGOPENVAS:1361412562310805901
HistoryJul 07, 2015 - 12:00 a.m.

WordPress StageShow Plugin Open Redirect Vulnerability

2015-07-0700:00:00
Copyright (C) 2015 Greenbone AG
plugins.openvas.org
15

6.4 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

NONE

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

6.5 Medium

AI Score

Confidence

Low

0.005 Low

EPSS

Percentile

77.6%

The WordPress plugin

# 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:wordpress:wordpress";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.805901");
  script_version("2023-07-25T05:05:58+0000");
  script_cve_id("CVE-2015-5461");
  script_tag(name:"cvss_base", value:"6.4");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:N");
  script_tag(name:"last_modification", value:"2023-07-25 05:05:58 +0000 (Tue, 25 Jul 2023)");
  script_tag(name:"creation_date", value:"2015-07-07 13:33:29 +0530 (Tue, 07 Jul 2015)");
  script_tag(name:"qod_type", value:"remote_vul");
  script_name("WordPress StageShow Plugin Open Redirect Vulnerability");

  script_tag(name:"summary", value:"The WordPress plugin 'stageshow' is prone to an
  open redirect vulnerability.");

  script_tag(name:"vuldetect", value:"Send a crafted HTTP GET request and check
  whether it redirects to the malicious websites.");

  script_tag(name:"insight", value:"The error exists as the application does
  not validate the 'url' parameter upon submission to the stageshow_redirect.php
  script.");

  script_tag(name:"impact", value:"Successful exploitation will allow remote
  attackers to create a specially crafted URL, that if clicked, would redirect
  a victim from the intended legitimate web site to an arbitrary web site of the
  attacker's choosing.");

  script_tag(name:"affected", value:"WordPress StageShow Plugin version 5.0.8
  and probably prior.");

  script_tag(name:"solution", value:"Upgrade to WordPress StageShow Plugin
  version 5.0.9 or later.");

  script_tag(name:"solution_type", value:"VendorFix");
  script_xref(name:"URL", value:"http://seclists.org/fulldisclosure/2015/Jul/27");
  script_xref(name:"URL", value:"https://wordpress.org/plugins/stageshow/changelog");
  script_xref(name:"URL", value:"http://www.openwall.com/lists/oss-security/2015/07/06/2");

  script_category(ACT_ATTACK);
  script_copyright("Copyright (C) 2015 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_wordpress_http_detect.nasl");
  script_mandatory_keys("wordpress/http/detected");
  script_require_ports("Services/www", 80);

  exit(0);
}

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

if(!port = get_app_port(cpe:CPE, service:"www"))
  exit(0);

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

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

url = dir + "/wp-content/plugins/stageshow/stageshow_redirect.php?url=http://www.example.com";

if(http_vuln_check(port:port, url:url, pattern:"HTTP/1.. 301",
                   extra_check:"Location: http://www.example.com")) {
  report = http_report_vuln_url( port:port, url:url );
  security_message(port:port,data:report);
  exit(0);
}

exit(99);

6.4 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

NONE

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

6.5 Medium

AI Score

Confidence

Low

0.005 Low

EPSS

Percentile

77.6%