CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:N/I:P/A:P
EPSS
Percentile
72.1%
The remote Windows host is running Avast Antivirus with a virus definition prior to version 150918-0. It is, therefore, affected by a path traversal vulnerability that occurs when processing ZIP archives.
An unauthenticated, remote attacker can exploit this, via a crafted ZIP archive, to delete or write arbitrary files to the system.
#
# (C) Tenable Network Security, Inc.
#
include("compat.inc");
if (description)
{
script_id(87776);
script_version("1.4");
script_cvs_date("Date: 2018/11/15 20:50:26");
script_cve_id("CVE-2015-5662");
script_bugtraq_id(77102);
script_name(english:"Avast Antivirus Path Traversal Vulnerability");
script_summary(english:"Checks the version of Avast Antivirus virus definitions.");
script_set_attribute(attribute:"synopsis", value:
"The remote Windows host has an antivirus application that is affected
by a path traversal vulnerability.");
script_set_attribute(attribute:"description", value:
"The remote Windows host is running Avast Antivirus with a virus
definition prior to version 150918-0. It is, therefore, affected by a
path traversal vulnerability that occurs when processing ZIP archives.
An unauthenticated, remote attacker can exploit this, via a crafted
ZIP archive, to delete or write arbitrary files to the system.");
script_set_attribute(attribute:"see_also", value:"https://www.avast.com/virus-update-history");
script_set_attribute(attribute:"see_also", value:"https://jvndb.jvn.jp/en/contents/2015/JVNDB-2015-000160.html");
script_set_attribute(attribute:"see_also", value:"http://jvn.jp/en/jp/JVN25576608/index.html");
script_set_attribute(attribute:"solution", value:
"Upgrade the Avast Antivirus virus definition to version 150918-0 or
later.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:P");
script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
script_set_attribute(attribute:"exploit_available", value:"false");
script_set_attribute(attribute:"vuln_publication_date", value:"2015/10/16");
script_set_attribute(attribute:"patch_publication_date", value:"2015/10/16");
script_set_attribute(attribute:"plugin_publication_date", value:"2016/01/07");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"cpe:/a:avast:avast_antivirus");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Windows");
script_copyright(english:"This script is Copyright (C) 2016-2018 Tenable Network Security, Inc.");
script_dependencies("avast_installed.nasl");
script_require_keys("installed_sw/Avast Antivirus");
exit(0);
}
include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
include("install_func.inc");
app_name = "Avast Antivirus";
kb_base = "Antivirus/Avast";
install = get_single_install(app_name:app_name, exit_if_unknown_ver:TRUE);
# For this check we need the av definition version not the product version
version = get_kb_item_or_exit(kb_base+'/avdefs');
path = install['path'];
port = get_kb_item("SMB/transport");
if (!port) port = 445;
fix = "15091800";
friendly_fix = "150918-0";
if (ver_compare(ver:version, fix:fix, strict:FALSE) == -1)
{
if (report_verbosity > 0)
{
report =
'\n Path : ' + path +
'\n Installed version : ' + version +
'\n Fixed version : ' + friendly_fix +
'\n';
security_warning(port:port, extra:report);
}
else security_warning(port:port);
}
else audit(AUDIT_INST_PATH_NOT_VULN, app_name, version, path);