Cisco ASR 1000 Series Aggregation Services Routers IOS XE SNMP DoS Vulnerability

2017-02-07T00:00:00
ID OPENVAS:1361412562310809799
Type openvas
Reporter Copyright (C) 2017 Greenbone Networks GmbH
Modified 2018-10-12T00:00:00

Description

The host is running Cisco ASR 1000 Series Aggregation Services router with Cisco IOS XE Software and is prone to denial of service vulnerability.

                                        
                                            ###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_cisco_asr_1000_ios_xe_snmp_high_cpu_dos_vuln.nasl 11874 2018-10-12 11:28:04Z mmartin $
#
# Cisco ASR 1000 Series Aggregation Services Routers IOS XE SNMP DoS Vulnerability
#
# Authors:
# Shakeel <bshakeel@secpod.com>
#
# Copyright:
# Copyright (C) 2017 Greenbone Networks GmbH
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
###############################################################################

CPE = "cpe:/o:cisco:ios_xe";

if (description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.809799");
  script_version("$Revision: 11874 $");
  script_cve_id("CVE-2017-3820");
  script_bugtraq_id(95934);
  script_tag(name:"cvss_base", value:"6.8");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:S/C:N/I:N/A:C");
  script_tag(name:"last_modification", value:"$Date: 2018-10-12 13:28:04 +0200 (Fri, 12 Oct 2018) $");
  script_tag(name:"creation_date", value:"2017-02-07 17:06:10 +0530 (Tue, 07 Feb 2017)");
  script_name("Cisco ASR 1000 Series Aggregation Services Routers IOS XE SNMP DoS Vulnerability");

  script_tag(name:"summary", value:"The host is running Cisco ASR 1000 Series
  Aggregation Services router with Cisco IOS XE Software and is prone to denial
  of service vulnerability.");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");

  script_tag(name:"insight", value:"The flaw is due to an incorrect initialized
  variable.");

  script_tag(name:"impact", value:"Successful exploitation will allow
  attackers to increase CPU usage to 99% on an affected device and cause a DoS
  condition.");

  script_tag(name:"affected", value:"Cisco ASR 1000 Series Aggregation Services
  Routers that are running Cisco IOS XE Software Release 3.13.6S, 3.16.2S, or
  3.17.1S are affected.");

  script_tag(name:"solution", value:"Upgrade to latest release of Cisco ASR 1000
  Series Aggregation Services router or Cisco IOS XE Software.");

  script_tag(name:"solution_type", value:"VendorFix");

  script_tag(name:"qod_type", value:"remote_banner");
  script_xref(name:"URL", value:"https://bst.cloudapps.cisco.com/bugsearch/bug/CSCux68796");
  script_xref(name:"URL", value:"https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170201-asrsnmp");
  script_copyright("Copyright (C) 2017 Greenbone Networks GmbH");
  script_category(ACT_GATHER_INFO);
  script_family("CISCO");
  script_dependencies("gb_cisco_ios_xe_version.nasl");
  script_mandatory_keys("cisco_ios_xe/version", "cisco_ios_xe/model");
  exit(0);
}

include("host_details.inc");
include("version_func.inc");

if(!ciscoVersion = get_app_version(cpe:CPE)){
  exit(0);
}

if(!model = get_kb_item("cisco_ios_xe/model")) exit(0);

if(model !~ '^ASR1') exit(0);

affected = make_list('3.13.6S', '3.16.2S', '3.17.1S');

foreach version (affected)
{
  if( ciscoVersion == version)
  {
    report = report_fixed_ver(  installed_version:ciscoVersion, fixed_version: "See advisory" );
    security_message( port:0, data:report);
    exit(0);
  }
}