Vulnerabilities > CVE-2014-3355 - Improper Restriction of Operations Within the Bounds of A Memory Buffer vulnerability in Cisco IOS XE
Attack vector
NETWORK Attack complexity
LOW Privileges required
NONE Confidentiality impact
NONE Integrity impact
NONE Availability impact
COMPLETE Summary
The metadata flow feature in Cisco IOS 15.1 through 15.3 and IOS XE 3.3.xXO before 3.3.1XO, 3.6.xS and 3.7.xS before 3.7.6S, and 3.8.xS, 3.9.xS, and 3.10.xS before 3.10.1S allows remote attackers to cause a denial of service (device reload) via malformed RSVP packets, aka Bug ID CSCug75942.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
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 family CISCO NASL id CISCO-SA-20140924-METADATA.NASL description According to its self-reported version, the version of Cisco IOS running on the remote host is affected by two vulnerabilities in the IPv6 metadata flow feature due to improper handling of RSVP packets. A remote attacker can exploit this issue by sending specially crafted RSVP flows to cause the device to reload. last seen 2019-10-28 modified 2014-10-02 plugin id 78033 published 2014-10-02 reporter This script is Copyright (C) 2014-2018 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/78033 title Cisco IOS Software Multiple IPv6 Metadata Flow Vulnerabilities (cisco-sa-20140924-metadata) code #TRUSTED 68aabc253859aac7be40a7bb05e19d6b78b3f47d388ea679a53467600037181de7b6bac183015482d93c1cf3c76fecdf5a650e99bd682653c49d1fcb0694df64d0b49034cab010f8c33642247828e11d46854a8355878c555a831a8529dd28041d95b36f473492ee4ae38dfd8e42cfbee22f470da1abf99f9d79ef41586d73208dea3dda4a5965afb05547f5586319f0427624fff8271be01522a1fc1673f636d235705031a9ba19266a7efaa55b4fd494016c5e068739fd63dd3ff4d971b3588f62a9f4a16a70a5b8b515d9d146cc83bd3769a6f367ae6bd18f5176301bd7d445f237cbc019655bfb1437dd44dac5e2c30d34bc5a233796cc7c6e3a9de3e429e9483c49fc216117fc4ac3cb1924204632a779c75172cc26d0349d526ecc9ff1822db08e6ac37a7a7e6d5f7f2677b8f859847cf89003dc15e4d7a279117723a53d86fd3dfb5bdc15a7b52f6cb940093a906af1bd9b564644581b80f2f1cb3280dd76e04b7e11762498e721fd40a6ff0a6d5eb4131aa337cbf557484ad7da1e763373077854f065e868b3ec18e71aeedc2162a224e44167284b053380ed3ca19acd1c04cff87a063364c3570673d9ba16d30abc62ffbf8b87e7ba930f1cffc6982a33525eabf5f9eca8a396e973285346f5f947612d035b5ed12a088b5fab6fadf1e43d04ebc84b0b0a8226b08098e2dd7b5c4afe2540ad29eb886b78ddb1c63b # # (C) Tenable Network Security, Inc. # include("compat.inc"); if (description) { script_id(78033); script_version("1.11"); script_set_attribute(attribute:"plugin_modification_date", value:"2018/11/15"); script_cve_id("CVE-2014-3355", "CVE-2014-3356"); script_bugtraq_id(70130, 70135); script_xref(name:"CISCO-BUG-ID", value:"CSCue22753"); script_xref(name:"CISCO-BUG-ID", value:"CSCug75942"); script_xref(name:"CISCO-SA", value:"cisco-sa-20140924-metadata"); script_name(english:"Cisco IOS Software Multiple IPv6 Metadata Flow Vulnerabilities (cisco-sa-20140924-metadata)"); script_summary(english:"Checks the IOS version."); script_set_attribute(attribute:"synopsis", value:"The remote device is missing a vendor-supplied security patch."); script_set_attribute(attribute:"description", value: "According to its self-reported version, the version of Cisco IOS running on the remote host is affected by two vulnerabilities in the IPv6 metadata flow feature due to improper handling of RSVP packets. A remote attacker can exploit this issue by sending specially crafted RSVP flows to cause the device to reload."); # https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20140924-metadata script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?102835df"); script_set_attribute(attribute:"see_also", value:"https://tools.cisco.com/security/center/viewAlert.x?alertId=35622"); script_set_attribute(attribute:"see_also", value:"https://tools.cisco.com/security/center/viewAlert.x?alertId=35623"); script_set_attribute(attribute:"see_also", value:"https://tools.cisco.com/bugsearch/bug/CSCue22753"); script_set_attribute(attribute:"see_also", value:"https://tools.cisco.com/bugsearch/bug/CSCug75942"); script_set_attribute(attribute:"solution", value: "Apply the relevant patch referenced in Cisco Security Advisory cisco-sa-20140924-metadata."); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/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:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"cpe:/o:cisco:ios"); script_set_attribute(attribute:"vuln_publication_date", value:"2014/09/24"); script_set_attribute(attribute:"patch_publication_date", value:"2014/09/24"); script_set_attribute(attribute:"plugin_publication_date", value:"2014/10/02"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2014-2018 Tenable Network Security, Inc."); script_family(english:"CISCO"); script_dependencies("cisco_ios_version.nasl"); script_require_keys("Host/Cisco/IOS/Version"); exit(0); } include("audit.inc"); include("cisco_func.inc"); include("cisco_kb_cmd_func.inc"); ver = get_kb_item_or_exit("Host/Cisco/IOS/Version"); app = "Cisco IOS"; cbi = "CSCue22753 and CSCug75942"; fixed_ver = NULL; #15.1SY if (ver == "15.1(1)SY" || ver == "15.1(1)SY1") fixed_ver = "15.1(1)SY4 or 15.1(2)SY4"; else if (ver == "15.1(1)SY2" || ver == "15.1(1)SY3" || ver == "15.1(2)SY" || ver == "15.1(2)SY1" || ver == "15.1(2)SY2" || ver == "15.1(2)SY3") { fixed_ver = "15.1(1)SY4 or 15.1(2)SY4"; cbi = "CSCue22753"; } #15.2GC else if (ver == "15.2(1)GC" || ver == "15.2(1)GC1" || ver == "15.2(1)GC2" || ver == "15.2(2)GC" || ver == "15.2(3)GC" || ver == "15.2(3)GC1") fixed_ver = "15.2(4)M7"; else if (ver == "15.2(4)GC" || ver == "15.2(4)GC1" || ver == "15.2(4)GC2") { fixed_ver = "15.2(4)M7"; cbi = "CSCue22753"; } #15.2GCA else if (ver == "15.2(3)GCA" || ver == "15.2(3)GCA1") fixed_ver = "15.4(1)T"; #15.2M else if (ver == "15.2(4)M" || ver == "15.2(4)M1" || ver == "15.2(4)M2" || ver == "15.2(4)M3") fixed_ver= "15.2(4)M7"; else if (ver == "15.2(4)M4" || ver == "15.2(4)M5" || ver == "15.2(4)M6" || ver == "15.2(4)M6b") { fixed_ver = "15.2(4)M7"; cbi = "CSCue22753"; } #15.2S else if (ver == "15.2(2)S" || ver == "15.2(2)S1" || ver == "15.2(4)S" || ver == "15.2(4)S1" || ver == "15.2(4)S2" || ver == "15.2(4)S3") fixed_ver = "15.2(2)S0a, 15.2(2)S2, 15.2(4)S0c, 15.2(4)S1c, 15.2(4)S2t, 15.2(4)S3a, or 15.2(4)S4"; #15.2T else if (ver == "15.2(1)T" || ver == "15.2(1)T1" || ver == "15.2(1)T2" || ver == "15.2(1)T3" || ver == "15.2(1)T3a" || ver == "15.2(1)T4" || ver == "15.2(2)T" || ver == "15.2(2)T1" || ver == "15.2(2)T2" || ver == "15.2(2)T3" || ver == "15.2(2)T4" || ver == "15.2(3)T" || ver == "15.2(3)T1" || ver == "15.2(3)T2" || ver == "15.2(3)T3") fixed_ver = "15.2(4)M7"; else if (ver == "15.2(3)T4") { fixed_ver = "15.2(4)M7"; cbi = "CSCue22753"; } #15.2XA else if (ver == "15.2(3)XA") fixed_ver = "15.2(4)M7"; #15.2XB else if (ver == "15.2(4)XB10") fixed_ver = "15.2(4)XB11"; #15.3M else if (ver == "15.3(3)M" || ver == "15.3(3)M1" || ver == "15.3(3)M2" || ver == "15.3(3)M3") { fixed_ver = "15.2(4)XB11"; cbi = "CSCue22753"; } #15.3S else if (ver == "15.3(1)S" || ver == "15.3(1)S1" || ver == "15.3(2)S" || ver == "15.3(2)S0xa" || ver == "15.3(2)S1") fixed_ver = "15.3(1)S1e, 15.3(1)S2, 15.3(2)S1b, 15.3(2)S2, 15.3(3)S0b, 15.3(3)S1a, 15.3(3)S2a, or 15.3(3)S4"; else if (ver == "15.3(2)S0a" || ver == "15.3(3)S" || ver == "15.3(3)S1" || ver == "15.3(3)S2" || ver == "15.3(3)S3") { fixed_ver = "15.3(1)S1e, 15.3(1)S2, 15.3(2)S1b, 15.3(2)S2, 15.3(3)S0b, 15.3(3)S1a, 15.3(3)S2a, or 15.3(3)S4"; cbi = "CSCue22753"; } #15.3T else if (ver == "15.3(1)T" || ver == "15.3(1)T1" || ver == "15.3(2)T") fixed_ver = "15.3(2)T4"; else if (ver == "15.3(1)T2" || ver == "15.3(1)T3" || ver == "15.3(1)T4" || ver == "15.3(2)T1" || ver == "15.3(2)T2" || ver == "15.3(2)T3") { fixed_ver = "15.3(2)T4"; cbi = "CSCue22753"; } if (isnull(fixed_ver)) audit(AUDIT_INST_VER_NOT_VULN, app, ver); override = FALSE; if (get_kb_item("Host/local_checks_enabled")) { flag = FALSE; # metadata flow check buf = cisco_command_kb_item("Host/Cisco/Config/show_running-config", "show running-config"); if (check_cisco_result(buf)) { if (preg(multiline:TRUE, pattern:"^\s*metadata flow$", string:buf)) flag = TRUE; } else if (cisco_needs_enable(buf)) override = TRUE; if (!flag && !override) { # IPv6 metadata flow check buf = cisco_command_kb_item("Host/Cisco/Config/show_metadata_flow_table_ipv6", "show metadata flow table ipv6"); if (check_cisco_result(buf)) { if (preg(multiline:TRUE, pattern:"^Flow\s+Proto\s+DPort\s+SPort", string:buf)) flag = TRUE; } else if (cisco_needs_enable(buf)) override = TRUE; } if (!flag && !override) audit(AUDIT_HOST_NOT, "affected because the metadata flow feature is not enabled."); } if (report_verbosity > 0) { report += '\n Cisco bug ID : ' + cbi + '\n Installed release : ' + ver + '\n Fixed release : ' + fixed_ver + '\n'; security_hole(port:0, extra:report+cisco_caveat(override)); } else security_hole(port:0, extra:cisco_caveat(override));
NASL family CISCO NASL id CISCO-SA-20140924-METADATA-IOSXE.NASL description According to its self-reported version, the version of Cisco IOS XE running on the remote host is affected by two vulnerabilities in the IPv6 metadata flow feature due to improper handling of RSVP packets. A remote attacker can exploit this issue by sending specially crafted RSVP flows to cause the device to reload. last seen 2019-10-28 modified 2014-10-02 plugin id 78032 published 2014-10-02 reporter This script is Copyright (C) 2014-2018 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/78032 title Cisco IOS XE Software Multiple IPv6 Metadata Flow Vulnerabilities (cisco-sa-20140924-metadata) code #TRUSTED 1986eedb8734cd194e20b7222806235988cb442bee7492f533d217ee1754646ffa0585ad1cad0060df4f152f20a55e40e6b47443a3a6f781cc397c2429bbea7a213269c3423501250d04484ba1a7631fb8ea64f9a5d5e486a43f059589e37ed288b2444a29fed6437bdf5ed8df8252de33a42fbe1a725059199c91cb7c7ed96da13d511ef297231cf7c054436368d7933c4236e5b4befbd8827ec94c47189b5bb9bb5461bc2fed661725040923b316a8ccfbabc4d02472541935ab4992d277bc9b051048f43e3f7e18aac2e012b2ea55dfa25bf1006996d645ee53d20af4bdbda3abef5ad86603223e064b954291ebce0e3a229786c69b2ff6d3a51f983c1761dbeee877f4a979a76db6d01273b46886bb59c42c6cccad936dd2ab0ce144869b6af66e9b1e1cc3b594c31809210435f6846c47181ab7ecd6e23673999844826c59dd10bc571aefae4c743c511a3e2a559c078318a3e62a9b71d52f96db7db4694d678f6c2d2b72cbcfe8557884f6a849eb7296c8a03759b35ff93651a0da4361395fe8fbf1e8eafcdf08eb771cdfdd8c2e221935ebd16a6eab9ecbdc5891e731e608604be078a95e47c4cee435d67db1aac7928681993db2f832bf6faf2d2b1d67106be342e6c7f23c7ca133468067e2be4a583a275b990d45df3fd970e6a1f1ba76de50dc3ee21587dbe6663d9abdb9d0e0a1a7d97f345029add1d5a78507b9 # # (C) Tenable Network Security, Inc. # include("compat.inc"); if (description) { script_id(78032); script_version("1.11"); script_set_attribute(attribute:"plugin_modification_date", value:"2018/11/15"); script_cve_id("CVE-2014-3355", "CVE-2014-3356"); script_bugtraq_id(70130, 70135); script_xref(name:"CISCO-BUG-ID", value:"CSCue22753"); script_xref(name:"CISCO-BUG-ID", value:"CSCug75942"); script_xref(name:"CISCO-SA", value:"cisco-sa-20140924-metadata"); script_name(english:"Cisco IOS XE Software Multiple IPv6 Metadata Flow Vulnerabilities (cisco-sa-20140924-metadata)"); script_summary(english:"Checks the IOS XE version."); script_set_attribute(attribute:"synopsis", value:"The remote device is missing a vendor-supplied security patch."); script_set_attribute(attribute:"description", value: "According to its self-reported version, the version of Cisco IOS XE running on the remote host is affected by two vulnerabilities in the IPv6 metadata flow feature due to improper handling of RSVP packets. A remote attacker can exploit this issue by sending specially crafted RSVP flows to cause the device to reload."); # https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20140924-metadata script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?102835df"); script_set_attribute(attribute:"see_also", value:"https://tools.cisco.com/security/center/viewAlert.x?alertId=35622"); script_set_attribute(attribute:"see_also", value:"https://tools.cisco.com/security/center/viewAlert.x?alertId=35623"); script_set_attribute(attribute:"see_also", value:"https://tools.cisco.com/bugsearch/bug/CSCue22753"); script_set_attribute(attribute:"see_also", value:"https://tools.cisco.com/bugsearch/bug/CSCug75942"); script_set_attribute(attribute:"solution", value: "Apply the relevant patch referenced in Cisco Security Advisory cisco-sa-20140924-metadata."); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/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:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"cpe:/o:cisco:ios_xe"); script_set_attribute(attribute:"vuln_publication_date", value:"2014/09/24"); script_set_attribute(attribute:"patch_publication_date", value:"2014/09/24"); script_set_attribute(attribute:"plugin_publication_date", value:"2014/10/02"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2014-2018 Tenable Network Security, Inc."); script_family(english:"CISCO"); script_dependencies("cisco_ios_xe_version.nasl"); script_require_keys("Host/Cisco/IOS-XE/Version"); exit(0); } include("audit.inc"); include("cisco_func.inc"); include("cisco_kb_cmd_func.inc"); ver = get_kb_item_or_exit("Host/Cisco/IOS-XE/Version"); app = "Cisco IOS XE"; cbi = "CSCue22753 and CSCug75942"; fixed_ver = NULL; if ( ver =~ "^3\.6\.[0-2]S$" || ver =~ "^3\.7\.[0-4]S$" ) fixed_ver = "3.7.6S"; else if ( ver =~ "^3\.(8|10)\.[0-2]S$" || ver =~ "^3\.9\.[01]S$" ) fixed_ver = "3.10.4S"; else if (ver == "3.3.0XO") { cbi = "CSCug75942"; fixed_ver = "3.3.1XO"; } else if (ver == "3.7.5S") { cbi = "CSCue22753"; fixed_ver = "3.7.6S"; } else if ( ver == "3.9.2S" || ver =~ "^3\.10.(0a|3)S$" ) { cbi = "CSCue22753"; fixed_ver = "3.10.4S"; } if (isnull(fixed_ver)) audit(AUDIT_INST_VER_NOT_VULN, app, ver); override = FALSE; if (get_kb_item("Host/local_checks_enabled")) { flag = FALSE; # metadata flow check buf = cisco_command_kb_item("Host/Cisco/Config/show_running-config", "show running-config"); if (check_cisco_result(buf)) { if (preg(multiline:TRUE, pattern:"^\s*metadata flow$", string:buf)) flag = TRUE; } else if (cisco_needs_enable(buf)) override = TRUE; if (!flag && !override) { # IPv6 metadata flow check buf = cisco_command_kb_item("Host/Cisco/Config/show_metadata_flow_table_ipv6", "show metadata flow table ipv6"); if (check_cisco_result(buf)) { if (preg(multiline:TRUE, pattern:"^Flow\s+Proto\s+DPort\s+SPort", string:buf)) flag = TRUE; } else if (cisco_needs_enable(buf)) override = TRUE; } if (!flag && !override) audit(AUDIT_HOST_NOT, "affected because the metadata flow feature is not enabled."); } if (report_verbosity > 0) { report += '\n Cisco bug ID : ' + cbi + '\n Installed release : ' + ver + '\n Fixed release : ' + fixed_ver + '\n'; security_hole(port:0, extra:report+cisco_caveat(override)); } else security_hole(port:0, extra:cisco_caveat(override));
References
- http://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20140924-metadata
- http://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20140924-metadata/cvrf/cisco-sa-20140924-metadata_cvrf.xml
- http://www.securityfocus.com/bid/70130
- http://www.securitytracker.com/id/1030894
- https://exchange.xforce.ibmcloud.com/vulnerabilities/96175