CVSS2
Attack Vector
NETWORK
Attack Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
PARTIAL
Availability Impact
NONE
AV:N/AC:M/Au:N/C:N/I:P/A:N
AI Score
Confidence
High
EPSS
Percentile
52.0%
DreamBox DM500-S devices are 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
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.805071");
script_version("2023-10-27T05:05:28+0000");
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_tag(name:"last_modification", value:"2023-10-27 05:05:28 +0000 (Fri, 27 Oct 2023)");
script_tag(name:"creation_date", value:"2015-06-25 13:00:26 +0530 (Thu, 25 Jun 2015)");
script_cve_id("CVE-2015-4714");
script_tag(name:"qod_type", value:"remote_analysis");
script_tag(name:"solution_type", value:"WillNotFix");
script_name("DreamBox DM500-S XSS Vulnerability (Jun 2015)");
script_category(ACT_ATTACK);
script_copyright("Copyright (C) 2015 Greenbone AG");
script_family("Web application abuses");
script_dependencies("find_service.nasl", "httpver.nasl", "global_settings.nasl");
script_require_ports("Services/www", 80);
script_exclude_keys("Settings/disable_cgi_scanning");
script_tag(name:"summary", value:"DreamBox DM500-S devices are prone to a cross-site scripting
(XSS) vulnerability.");
script_tag(name:"vuldetect", value:"Sends a crafted HTTP GET request and checks the response.");
script_tag(name:"insight", value:"The flaw is due to an input passed via the body and mode
parameter is not properly sanitized.");
script_tag(name:"impact", value:"Successful exploitation will allow attacker 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:"Dreambox DM500-S devices are known to be affected. Other models
might be affected as well.");
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_xref(name:"URL", value:"http://www.scip.ch/en/?vuldb.75860");
script_xref(name:"URL", value:"https://packetstormsecurity.com/files/132214");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/75388");
exit(0);
}
include("http_func.inc");
include("http_keepalive.inc");
include("port_service_func.inc");
include("host_details.inc");
port = http_get_port(default:80);
res = http_get_cache(item:"/", port:port);
if(res =~ "^HTTP/1\.[01] 200" && ("[Dreambox]<" >< res || ">Enigma Web Interface<" >< res)) {
url = "/body?mode=zap52b06%3Cscript%3Ealert(document.cookie)%3C%2fscript%3Eca184&zapmode=0&zapsubmode=4";
if(http_vuln_check(port:port, url:url, check_header:TRUE, pattern:"<script>alert\(document\.cookie\)</script>", extra_check:"parent\.setTitle")) {
report = http_report_vuln_url(port:port, url:url);
security_message(port:port, data:report);
exit(0);
}
exit(99);
}
exit(0);