Cisco Firepower Threat Defense and Cisco ASA with FirePOWER Module Improper SSL Policy Packet Handling DoS (cisco-sa-20170503-ftd)
2017-05-25T00:00:00
ID CISCO-SA-20170503-FTD.NASL Type nessus Reporter This script is Copyright (C) 2017-2018 Tenable Network Security, Inc. Modified 2021-01-02T00:00:00
Description
According to its version, the Cisco Firepower Threat Defense (FTD)
software installed on the remote host is prior to 6.1.0.3 or else is
6.2.x prior to 6.2.1. It is, therefore, affected by a denial of
service vulnerability in the access control policy due to improper
handling of SSL packets. An authenticated, remote attacker can exploit
this, via specially crafted SSL packets, to cause the system to stop
inspecting and processing packets.
#
# (C) Tenable Network Security, Inc.
#
include("compat.inc");
if (description)
{
script_id(100425);
script_version("1.5");
script_cvs_date("Date: 2018/07/06 11:26:06");
script_cve_id("CVE-2017-6625");
script_bugtraq_id(98292);
script_xref(name:"CISCO-BUG-ID", value:"CSCvc84361");
script_xref(name:"CISCO-SA", value:"cisco-sa-20170503-ftd");
script_name(english:"Cisco Firepower Threat Defense and Cisco ASA with FirePOWER Module Improper SSL Policy Packet Handling DoS (cisco-sa-20170503-ftd)");
script_summary(english:"Checks the version of Cisco Firepower System.");
script_set_attribute(attribute:"synopsis", value:
"The packet inspection software installed on the remote host is
affected by a denial of service vulnerability.");
script_set_attribute(attribute:"description", value:
"According to its version, the Cisco Firepower Threat Defense (FTD)
software installed on the remote host is prior to 6.1.0.3 or else is
6.2.x prior to 6.2.1. It is, therefore, affected by a denial of
service vulnerability in the access control policy due to improper
handling of SSL packets. An authenticated, remote attacker can exploit
this, via specially crafted SSL packets, to cause the system to stop
inspecting and processing packets.");
# https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170503-ftd
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?b37803ea");
script_set_attribute(attribute:"see_also", value:"https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvc84361");
script_set_attribute(attribute:"solution", value:
"Upgrade to the relevant fixed version referenced in Cisco bug ID
CSCvc84361.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:S/C:N/I:P/A:P");
script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H");
script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/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:"2017/05/03");
script_set_attribute(attribute:"patch_publication_date", value:"2017/05/03");
script_set_attribute(attribute:"plugin_publication_date", value:"2017/05/25");
script_set_attribute(attribute:"potential_vulnerability", value:"true");
script_set_attribute(attribute:"plugin_type",value:"local");
script_set_attribute(attribute:"cpe",value:"cpe:/a:cisco:firepower");
script_set_attribute(attribute:"cpe",value:"cpe:/a:cisco:firepower_threat_defense");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"CISCO");
script_copyright(english:"This script is Copyright (C) 2017-2018 Tenable Network Security, Inc.");
script_dependencies("ssh_get_info.nasl", "os_fingerprint.nasl");
script_require_keys("Host/Cisco/ASA", "Host/Cisco/ASA/model", "Settings/ParanoidReport");
exit(0);
}
include("audit.inc");
include("misc_func.inc");
include("global_settings.inc");
if (report_paranoia < 2) audit(AUDIT_PARANOID);
show_ver = get_kb_item_or_exit('Host/Cisco/show_ver');
model = get_kb_item_or_exit('Host/Cisco/ASA/model');
# Affected Models:
# 5500-X Series
if (
model !~ '^55[0-9][0-9][WH]?-X'
) audit(AUDIT_HOST_NOT, "an affected Cisco ASA product model");
fix = NULL;
override = 0;
fdm_ver = pregmatch(string:show_ver, pattern:"\s*Model\s*:\s+Cisco.*Threat\s+Defense.*Version\s+([0-9.]+)");
if (isnull(fdm_ver)) audit(AUDIT_HOST_NOT, "affected");
else if (fdm_ver[1] =~ "^6\.2\.")
fix = '6.2.1';
else
fix = '6.1.0.3';
if (fix && (ver_compare(ver:fdm_ver[1], fix:fix, strict:FALSE) < 0))
{
report =
'\n Bug : CSCvc84361' +
'\n Installed version : ' + fdm_ver[1] +
'\n Fixed version : ' + fix;
security_report_v4(port:0, extra:report, severity:SECURITY_WARNING);
} else audit(AUDIT_HOST_NOT, "affected");
{"id": "CISCO-SA-20170503-FTD.NASL", "bulletinFamily": "scanner", "title": "Cisco Firepower Threat Defense and Cisco ASA with FirePOWER Module Improper SSL Policy Packet Handling DoS (cisco-sa-20170503-ftd)", "description": "According to its version, the Cisco Firepower Threat Defense (FTD)\nsoftware installed on the remote host is prior to 6.1.0.3 or else is\n6.2.x prior to 6.2.1. It is, therefore, affected by a denial of\nservice vulnerability in the access control policy due to improper\nhandling of SSL packets. An authenticated, remote attacker can exploit\nthis, via specially crafted SSL packets, to cause the system to stop\ninspecting and processing packets.", "published": "2017-05-25T00:00:00", "modified": "2021-01-02T00:00:00", "cvss": {"score": 5.5, "vector": "AV:N/AC:L/Au:S/C:N/I:P/A:P"}, "href": "https://www.tenable.com/plugins/nessus/100425", "reporter": "This script is Copyright (C) 2017-2018 Tenable Network Security, Inc.", "references": ["https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvc84361", "http://www.nessus.org/u?b37803ea"], "cvelist": ["CVE-2017-6625"], "type": "nessus", "lastseen": "2021-01-01T01:32:49", "edition": 26, "viewCount": 5, "enchantments": {"dependencies": {"references": [{"type": "cve", "idList": ["CVE-2017-6625"]}, {"type": "openvas", "idList": ["OPENVAS:1361412562310106802"]}, {"type": "cisco", "idList": ["CISCO-SA-20170503-FTD"]}], "modified": "2021-01-01T01:32:49", "rev": 2}, "score": {"value": 6.2, "vector": "NONE", "modified": "2021-01-01T01:32:49", "rev": 2}, "vulnersScore": 6.2}, "sourceData": "#\n# (C) Tenable Network Security, Inc.\n#\n\ninclude(\"compat.inc\");\n\nif (description)\n{\n script_id(100425);\n script_version(\"1.5\");\n script_cvs_date(\"Date: 2018/07/06 11:26:06\");\n\n script_cve_id(\"CVE-2017-6625\");\n script_bugtraq_id(98292);\n script_xref(name:\"CISCO-BUG-ID\", value:\"CSCvc84361\");\n script_xref(name:\"CISCO-SA\", value:\"cisco-sa-20170503-ftd\");\n\n script_name(english:\"Cisco Firepower Threat Defense and Cisco ASA with FirePOWER Module Improper SSL Policy Packet Handling DoS (cisco-sa-20170503-ftd)\");\n script_summary(english:\"Checks the version of Cisco Firepower System.\");\n\n script_set_attribute(attribute:\"synopsis\", value:\n\"The packet inspection software installed on the remote host is\naffected by a denial of service vulnerability.\");\n script_set_attribute(attribute:\"description\", value:\n\"According to its version, the Cisco Firepower Threat Defense (FTD)\nsoftware installed on the remote host is prior to 6.1.0.3 or else is\n6.2.x prior to 6.2.1. It is, therefore, affected by a denial of\nservice vulnerability in the access control policy due to improper\nhandling of SSL packets. An authenticated, remote attacker can exploit\nthis, via specially crafted SSL packets, to cause the system to stop\ninspecting and processing packets.\");\n # https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170503-ftd\n script_set_attribute(attribute:\"see_also\", value:\"http://www.nessus.org/u?b37803ea\");\n script_set_attribute(attribute:\"see_also\", value:\"https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvc84361\");\n script_set_attribute(attribute:\"solution\", value:\n\"Upgrade to the relevant fixed version referenced in Cisco bug ID\nCSCvc84361.\");\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:L/Au:S/C:N/I:P/A:P\");\n script_set_cvss_temporal_vector(\"CVSS2#E:U/RL:OF/RC:C\");\n script_set_cvss3_base_vector(\"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H\");\n script_set_cvss3_temporal_vector(\"CVSS:3.0/E:U/RL:O/RC:C\");\n script_set_attribute(attribute:\"exploitability_ease\", value:\"No known exploits are available\");\n script_set_attribute(attribute:\"exploit_available\", value:\"false\");\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2017/05/03\");\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2017/05/03\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2017/05/25\");\n\n script_set_attribute(attribute:\"potential_vulnerability\", value:\"true\");\n script_set_attribute(attribute:\"plugin_type\",value:\"local\");\n script_set_attribute(attribute:\"cpe\",value:\"cpe:/a:cisco:firepower\");\n script_set_attribute(attribute:\"cpe\",value:\"cpe:/a:cisco:firepower_threat_defense\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_family(english:\"CISCO\");\n\n script_copyright(english:\"This script is Copyright (C) 2017-2018 Tenable Network Security, Inc.\");\n\n script_dependencies(\"ssh_get_info.nasl\", \"os_fingerprint.nasl\");\n script_require_keys(\"Host/Cisco/ASA\", \"Host/Cisco/ASA/model\", \"Settings/ParanoidReport\");\n\n exit(0);\n}\n\ninclude(\"audit.inc\");\ninclude(\"misc_func.inc\");\ninclude(\"global_settings.inc\");\n\nif (report_paranoia < 2) audit(AUDIT_PARANOID);\n\nshow_ver = get_kb_item_or_exit('Host/Cisco/show_ver');\nmodel = get_kb_item_or_exit('Host/Cisco/ASA/model');\n\n# Affected Models:\n# 5500-X Series\nif (\n model !~ '^55[0-9][0-9][WH]?-X'\n) audit(AUDIT_HOST_NOT, \"an affected Cisco ASA product model\");\n\nfix = NULL;\noverride = 0;\n\nfdm_ver = pregmatch(string:show_ver, pattern:\"\\s*Model\\s*:\\s+Cisco.*Threat\\s+Defense.*Version\\s+([0-9.]+)\");\n\nif (isnull(fdm_ver)) audit(AUDIT_HOST_NOT, \"affected\");\n\nelse if (fdm_ver[1] =~ \"^6\\.2\\.\")\n fix = '6.2.1';\nelse\n fix = '6.1.0.3';\n\nif (fix && (ver_compare(ver:fdm_ver[1], fix:fix, strict:FALSE) < 0))\n{\n report =\n '\\n Bug : CSCvc84361' +\n '\\n Installed version : ' + fdm_ver[1] +\n '\\n Fixed version : ' + fix;\n security_report_v4(port:0, extra:report, severity:SECURITY_WARNING);\n} else audit(AUDIT_HOST_NOT, \"affected\");\n", "naslFamily": "CISCO", "pluginID": "100425", "cpe": ["cpe:/a:cisco:firepower", "cpe:/a:cisco:firepower_threat_defense"], "scheme": null, "cvss3": {"score": 7.1, "vector": "AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H"}}
{"cve": [{"lastseen": "2020-10-03T13:07:46", "description": "A \"Cisco Firepower Threat Defense 6.0.0 through 6.2.2 and Cisco ASA with FirePOWER Module Denial of Service\" vulnerability in the access control policy of Cisco Firepower System Software could allow an authenticated, remote attacker to cause an affected system to stop inspecting and processing packets, resulting in a denial of service (DoS) condition. The vulnerability is due to improper SSL policy handling by the affected software when packets are passed through the sensing interfaces of an affected system. An attacker could exploit this vulnerability by sending crafted packets through a targeted system. This vulnerability affects Cisco Firepower System Software that is configured with the SSL policy feature. Cisco Bug IDs: CSCvc84361.", "edition": 5, "cvss3": {"exploitabilityScore": 2.8, "cvssV3": {"baseSeverity": "HIGH", "confidentialityImpact": "NONE", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "integrityImpact": "LOW", "baseScore": 7.1, "privilegesRequired": "LOW", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H", "userInteraction": "NONE", "version": "3.0"}, "impactScore": 4.2}, "published": "2017-05-03T21:59:00", "title": "CVE-2017-6625", "type": "cve", "cwe": ["NVD-CWE-noinfo"], "bulletinFamily": "NVD", "cvss2": {"severity": "MEDIUM", "exploitabilityScore": 8.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "NONE", "availabilityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "baseScore": 5.5, "vectorString": "AV:N/AC:L/Au:S/C:N/I:P/A:P", "version": "2.0", "accessVector": "NETWORK", "authentication": "SINGLE"}, "acInsufInfo": false, "impactScore": 4.9, "obtainUserPrivilege": false}, "cvelist": ["CVE-2017-6625"], "modified": "2019-10-09T23:28:00", "cpe": ["cpe:/a:cisco:firepower_threat_defense:6.0.0", "cpe:/a:cisco:firepower_threat_defense:6.2.1", "cpe:/a:cisco:firepower_threat_defense:6.2.0", "cpe:/a:cisco:firepower_threat_defense:6.2.2", "cpe:/a:cisco:firepower_threat_defense:6.1.0", "cpe:/a:cisco:firepower_threat_defense:6.1.0.2", "cpe:/a:cisco:firepower_threat_defense:6.0.1"], "id": "CVE-2017-6625", "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-6625", "cvss": {"score": 5.5, "vector": "AV:N/AC:L/Au:S/C:N/I:P/A:P"}, "cpe23": ["cpe:2.3:a:cisco:firepower_threat_defense:6.0.1:*:*:*:*:*:*:*", "cpe:2.3:a:cisco:firepower_threat_defense:6.2.2:*:*:*:*:*:*:*", "cpe:2.3:a:cisco:firepower_threat_defense:6.0.0:*:*:*:*:*:*:*", "cpe:2.3:a:cisco:firepower_threat_defense:6.2.1:*:*:*:*:*:*:*", "cpe:2.3:a:cisco:firepower_threat_defense:6.1.0.2:*:*:*:*:*:*:*", "cpe:2.3:a:cisco:firepower_threat_defense:6.2.0:*:*:*:*:*:*:*", "cpe:2.3:a:cisco:firepower_threat_defense:6.1.0:*:*:*:*:*:*:*"]}], "openvas": [{"lastseen": "2020-04-07T18:27:28", "bulletinFamily": "scanner", "cvelist": ["CVE-2017-6625"], "description": "A vulnerability in the access control policy of Cisco Firepower System\n Software could allow an authenticated, remote attacker to cause an affected system to stop inspecting and\n processing packets, resulting in a denial of service (DoS) condition.", "modified": "2020-04-03T00:00:00", "published": "2017-05-10T00:00:00", "id": "OPENVAS:1361412562310106802", "href": "http://plugins.openvas.org/nasl.php?oid=1361412562310106802", "type": "openvas", "title": "Cisco Firepower Threat Defense and Cisco ASA with FirePOWER Module Denial of Service Vulnerability", "sourceData": "###############################################################################\n# OpenVAS Vulnerability Test\n#\n# Cisco Firepower Threat Defense and Cisco ASA with FirePOWER Module Denial of Service Vulnerability\n#\n# Authors:\n# Christian Kuersteiner <christian.kuersteiner@greenbone.net>\n#\n# Copyright:\n# Copyright (c) 2017 Greenbone Networks GmbH\n#\n# This program is free software; you can redistribute it and/or\n# modify it under the terms of the GNU General Public License\n# as published by the Free Software Foundation; either version 2\n# of the License, or (at your option) any later version.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n###############################################################################\n\nCPE = \"cpe:/a:cisco:firepower_management_center\";\n\nif (description)\n{\n script_oid(\"1.3.6.1.4.1.25623.1.0.106802\");\n script_cve_id(\"CVE-2017-6625\");\n script_tag(name:\"cvss_base\", value:\"5.5\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:L/Au:S/C:N/I:P/A:P\");\n script_version(\"2020-04-03T09:54:35+0000\");\n\n script_name(\"Cisco Firepower Threat Defense and Cisco ASA with FirePOWER Module Denial of Service Vulnerability\");\n\n script_xref(name:\"URL\", value:\"https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170503-ftd\");\n\n script_tag(name:\"vuldetect\", value:\"Checks if a vulnerable version is present on the target host.\");\n\n script_tag(name:\"solution\", value:\"See the referenced vendor advisory for a solution.\");\n\n script_tag(name:\"summary\", value:\"A vulnerability in the access control policy of Cisco Firepower System\n Software could allow an authenticated, remote attacker to cause an affected system to stop inspecting and\n processing packets, resulting in a denial of service (DoS) condition.\");\n\n script_tag(name:\"insight\", value:\"The vulnerability is due to improper SSL policy handling by the affected\n software when packets are passed through the sensing interfaces of an affected system.\");\n\n script_tag(name:\"impact\", value:\"An attacker could exploit this vulnerability by sending crafted packets\n through a targeted system.\");\n\n script_tag(name:\"qod_type\", value:\"package\");\n script_tag(name:\"solution_type\", value:\"VendorFix\");\n\n script_tag(name:\"last_modification\", value:\"2020-04-03 09:54:35 +0000 (Fri, 03 Apr 2020)\");\n script_tag(name:\"creation_date\", value:\"2017-05-10 21:52:03 +0700 (Wed, 10 May 2017)\");\n script_category(ACT_GATHER_INFO);\n script_family(\"CISCO\");\n script_copyright(\"Copyright (C) 2017 Greenbone Networks GmbH\");\n script_dependencies(\"gb_cisco_firepower_management_center_consolidation.nasl\");\n script_mandatory_keys(\"cisco/firepower_management_center/detected\");\n\n exit(0);\n}\n\ninclude(\"host_details.inc\");\ninclude(\"version_func.inc\");\n\nif (!version = get_app_version(cpe:CPE, nofork:TRUE))\n exit(0);\n\naffected = make_list(\n '6.0.0',\n '6.0.0',\n '6.0.1',\n '6.0.1',\n '6.1.0',\n '6.1.0',\n '6.1.0.2',\n '6.1.0.2',\n '6.2.0',\n '6.2.0',\n '6.2.1',\n '6.2.1',\n '6.2.2',\n '6.2.2');\n\nforeach af (affected) {\n if (version == af) {\n report = report_fixed_ver(installed_version: version, fixed_version: \"See advisory\");\n security_message(port: 0, data: report);\n exit(0);\n }\n}\n\nexit(99);\n", "cvss": {"score": 5.5, "vector": "AV:N/AC:L/Au:S/C:N/I:P/A:P"}}], "cisco": [{"lastseen": "2020-12-24T11:41:12", "bulletinFamily": "software", "cvelist": ["CVE-2017-6625"], "description": "A vulnerability in the access control policy of Cisco Firepower System Software could allow an authenticated, remote attacker to cause an affected system to stop inspecting and processing packets, resulting in a denial of service (DoS) condition.\n\nThe vulnerability is due to improper SSL policy handling by the affected software when packets are passed through the sensing interfaces of an affected system. An attacker could exploit this vulnerability by sending crafted packets through a targeted system.\n\nThere are no workarounds that address this vulnerability.\n\nThis advisory is available at the following link:\nhttps://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170503-ftd [\"https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170503-ftd\"]", "modified": "2017-05-02T18:09:45", "published": "2017-05-03T16:00:00", "id": "CISCO-SA-20170503-FTD", "href": "https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170503-ftd", "type": "cisco", "title": "Cisco Firepower Threat Defense and Cisco ASA with FirePOWER Module Denial of Service Vulnerability", "cvss": {"score": 5.4, "vector": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L"}}]}