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
EPSS
Percentile
88.3%
The remote host seems to be running MyAbraCadaWeb. An attacker may use it to perform a cross-site scripting attack on this host, or to reveal the full path to its physical location by sending a malformed request.
#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc
#
# Message-ID: <[email protected]>
# From: "Gregory" Le Bras <[email protected]>
# To: [email protected]
# Subject: [SCSA-010] Path Disclosure & Cross Site Scripting Vulnerability in MyABraCaDaWeb
include('deprecated_nasl_level.inc');
include('compat.inc');
if (description)
{
script_id(11417);
script_version("1.36");
script_set_attribute(attribute:"plugin_modification_date", value:"2021/01/19");
script_cve_id("CVE-2003-1548", "CVE-2003-1549");
script_bugtraq_id(7126, 7127);
script_name(english:"MyAbraCadaWeb header.php ma_kw Parameter XSS");
script_summary(english:"Determine if a remote host is vulnerable to xss attack");
script_set_attribute(attribute:"synopsis", value:
"The remote web server contains a CGI which is vulnerable to a cross-
site scripting and a path disclosure issue.");
script_set_attribute(attribute:"description", value:
"The remote host seems to be running MyAbraCadaWeb. An attacker may use
it to perform a cross-site scripting attack on this host, or to reveal
the full path to its physical location by sending a malformed request.");
script_set_attribute(attribute:"solution", value:"Upgrade to a newer version of this software.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N");
script_set_cvss_temporal_vector("CVSS2#E:H/RL:OF/RC:C");
script_set_attribute(attribute:"exploitability_ease", value:"No exploit is required");
script_set_attribute(attribute:"exploit_available", value:"false");
script_cwe_id(79, 200);
script_set_attribute(attribute:"plugin_publication_date", value:"2003/03/19");
script_set_attribute(attribute:"potential_vulnerability", value:"true");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_end_attributes();
script_category(ACT_ATTACK);
script_family(english:"CGI abuses : XSS");
script_copyright(english:"This script is Copyright (C) 2003-2021 Tenable Network Security, Inc.");
script_dependencie("http_version.nasl", "cross_site_scripting.nasl");
script_exclude_keys("Settings/disable_cgi_scanning");
script_require_keys("Settings/ParanoidReport", "www/PHP");
script_require_ports("Services/www", 80);
exit(0);
}
include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
include("http.inc");
if (report_paranoia < 2) audit(AUDIT_PARANOID);
port = get_http_port(default:80);
if(!can_host_php(port:port))exit(0, "Web server on port "+port+" does not support PHP.");
if(get_kb_item(string("www/", port, "/generic_xss"))) exit(0, "Web server on port "+port+" is vulnerable to XSS.");
test_cgi_xss(port: port, dirs: cgi_dirs(), cgi: "/index.php",
pass_str: "<script>alert(document.cookie)</script>",
qs: "module=pertinance&ma_ou=annuaire2liens&ma_kw=<script>alert(document.cookie)</script>");