| Source | Link |
|---|---|
| piwik | www.piwik.org/changelog/piwik-2-16-0/ |
#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#
include('deprecated_nasl_level.inc');
include('compat.inc');
if (description)
{
script_id(90537);
script_version("1.7");
script_set_attribute(attribute:"plugin_modification_date", value:"2025/05/14");
script_name(english:"Piwik < 2.16.0 Unspecified XSS");
script_set_attribute(attribute:"synopsis", value:
"A web application hosted on the remote web server is affected by a
cross-site scripting vulnerability.");
script_set_attribute(attribute:"description", value:
"The version of Piwik running on the remote host is prior to 2.16.0.
It is, therefore, affected by an unspecified cross-site scripting
(XSS) vulnerability due to a failure to properly validate input before
returning it to users. An unauthenticated, remote attacker can exploit
this, via a crafted request, to execute arbitrary script code in a
user's browser session.");
script_set_attribute(attribute:"see_also", value:"http://piwik.org/changelog/piwik-2-16-0/");
script_set_attribute(attribute:"solution", value:
"Upgrade to Piwik version 2.16.0 or later. If necessary, remove any
affected versions.");
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:"vuln_publication_date", value:"2016/02/04");
script_set_attribute(attribute:"patch_publication_date", value:"2016/02/04");
script_set_attribute(attribute:"plugin_publication_date", value:"2016/04/15");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"cpe", value:"cpe:/a:piwik:piwik");
script_set_attribute(attribute:"thorough_tests", value:"true");
script_set_attribute(attribute:"enable_cgi_scanning", value:"true");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"CGI abuses : XSS");
script_copyright(english:"This script is Copyright (C) 2016-2025 Tenable Network Security, Inc.");
script_dependencies("piwik_detect.nasl");
script_require_keys("installed_sw/Piwik", "www/PHP");
script_require_ports("Services/www", 80);
exit(0);
}
include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
include("http.inc");
include("webapp_func.inc");
appname = "Piwik";
fixed_ver = "2.16.0";
get_install_count(app_name:appname, exit_if_zero:TRUE);
port = get_http_port(default:80, php:TRUE);
install = get_single_install(app_name:appname, port:port, exit_if_unknown_ver:TRUE);
dir = install["dir"];
version = install["version"];
install_loc = build_url(port:port, qs:dir);
if (version !~ "^([0-1]\..*|2\.([0-9]|[0-9][0-5])([^0-9]|$))")
audit(AUDIT_WEB_APP_NOT_AFFECTED, appname, install_loc);
report =
'\nThe following vulnerable instance of ' + appname + ' is installed' +
'\non the remote host:' +
'\n URL : ' + install_loc +
'\n Installed version : ' + version +
'\n Fixed version : ' + fixed_ver +
'\n';
security_report_v4(port:port, severity:SECURITY_WARNING, extra:report, xss:TRUE);
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation