Vulnerabilities > CVE-2013-1217 - Improper Restriction of Operations Within the Bounds of A Memory Buffer vulnerability in Cisco IOS

047910
CVSS 6.8 - MEDIUM
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
SINGLE
Confidentiality impact
NONE
Integrity impact
NONE
Availability impact
COMPLETE
network
low complexity
cisco
CWE-119
nessus

Summary

The generic input/output control implementation in Cisco IOS does not properly manage buffers, which allows remote authenticated users to cause a denial of service (device reload) by sending many SNMP requests at the same time, aka Bug ID CSCub41105.

Vulnerable Configurations

Part Description Count
OS
Cisco
1

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.

Nessus

NASL familyCISCO
NASL idCISCO_IOS_CSCUB41105.NASL
descriptionThe remote Cisco IOS device has a denial of service vulnerability in the generic input/output control mechanism that could allow an authenticated, remote attacker to trigger a reload of the Supervisor Engine or the device; thus resulting in a denial of service condition.
last seen2020-06-01
modified2020-06-02
plugin id66202
published2013-04-24
reporterThis script is Copyright (C) 2013-2018 Tenable Network Security, Inc.
sourcehttps://www.tenable.com/plugins/nessus/66202
titleCisco IOS Generic Input/Output SNMP DoS
code
#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
  script_id(66202);
  script_version("1.3");
  script_cvs_date("Date: 2018/11/15 20:50:20");

  script_cve_id("CVE-2013-1217");
  script_bugtraq_id(59357);
  script_xref(name:"CISCO-BUG-ID", value:"CSCub41105");

  script_name(english:"Cisco IOS Generic Input/Output SNMP DoS");
  script_summary(english:"Checks IOS version");

  script_set_attribute(
    attribute:"synopsis",
    value:"The remote device is affected by a denial of service vulnerability."
  );
  script_set_attribute(
    attribute:"description",
    value:
"The remote Cisco IOS device has a denial of service vulnerability in
the generic input/output control mechanism that could allow an
authenticated, remote attacker to trigger a reload of the Supervisor
Engine or the device; thus resulting in a denial of service condition."
  );
  # https://tools.cisco.com/security/center/viewAlert.x?alertId=29048
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?d2520acd");
  # https://tools.cisco.com/security/center/viewAlert.x?alertId=29048
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?d2520acd");

  script_set_attribute(
    attribute:"solution",
    value:
"Upgrade to one of the non-vulnerable versions listed in the bug details
for CSCub41105."
  );
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:S/C:N/I:N/A:C");
  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:"2013/04/19");
  script_set_attribute(attribute:"patch_publication_date", value:"2013/04/19");
  script_set_attribute(attribute:"plugin_publication_date", value:"2013/04/24");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:cisco:ios");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"CISCO");

  script_copyright(english:"This script is Copyright (C) 2013-2018 Tenable Network Security, Inc.");

  script_dependencies("cisco_ios_version.nasl");
  script_require_keys("Host/Cisco/IOS/Version");
  exit(0);
}

include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");

version = get_kb_item_or_exit("Host/Cisco/IOS/Version");

if (version == '15.0(2)SQA')
  security_warning(0);
else if (version == '15.0(2)SQA1')
  security_warning(0);
else if (version == '15.0(2)SQA2')
  security_warning(0);
else
  audit(AUDIT_INST_VER_NOT_VULN, 'IOS', version);