Vulnerabilities > CVE-2014-3262 - Improper Input Validation vulnerability in Cisco IOS

047910
CVSS 0.0 - NONE
Attack vector
UNKNOWN
Attack complexity
UNKNOWN
Privileges required
UNKNOWN
Confidentiality impact
UNKNOWN
Integrity impact
UNKNOWN
Availability impact
UNKNOWN

Summary

The Locator/ID Separation Protocol (LISP) implementation in Cisco IOS 15.3(3)S and earlier and IOS XE does not properly validate parameters in ITR control messages, which allows remote attackers to cause a denial of service (CEF outage and packet drops) via malformed messages, aka Bug ID CSCun73782.

Vulnerable Configurations

Part Description Count
OS
Cisco
5831

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.
  • Server Side Include (SSI) Injection
    An attacker can use Server Side Include (SSI) Injection to send code to a web application that then gets executed by the web server. Doing so enables the attacker to achieve similar results to Cross Site Scripting, viz., arbitrary code execution and information disclosure, albeit on a more limited scale, since the SSI directives are nowhere near as powerful as a full-fledged scripting language. Nonetheless, the attacker can conveniently gain access to sensitive files, such as password files, and execute shell commands.
  • Cross Zone Scripting
    An attacker is able to cause a victim to load content into their web-browser that bypasses security zone controls and gain access to increased privileges to execute scripting code or other web objects such as unsigned ActiveX controls or applets. This is a privilege elevation attack targeted at zone-based web-browser security. In a zone-based model, pages belong to one of a set of zones corresponding to the level of privilege assigned to that page. Pages in an untrusted zone would have a lesser level of access to the system and/or be restricted in the types of executable content it was allowed to invoke. In a cross-zone scripting attack, a page that should be assigned to a less privileged zone is granted the privileges of a more trusted zone. This can be accomplished by exploiting bugs in the browser, exploiting incorrect configuration in the zone controls, through a cross-site scripting attack that causes the attackers' content to be treated as coming from a more trusted page, or by leveraging some piece of system functionality that is accessible from both the trusted and less trusted zone. This attack differs from "Restful Privilege Escalation" in that the latter correlates to the inadequate securing of RESTful access methods (such as HTTP DELETE) on the server, while cross-zone scripting attacks the concept of security zones as implemented by a browser.
  • Cross Site Scripting through Log Files
    An attacker may leverage a system weakness where logs are susceptible to log injection to insert scripts into the system's logs. If these logs are later viewed by an administrator through a thin administrative interface and the log data is not properly HTML encoded before being written to the page, the attackers' scripts stored in the log will be executed in the administrative interface with potentially serious consequences. This attack pattern is really a combination of two other attack patterns: log injection and stored cross site scripting.
  • Command Line Execution through SQL Injection
    An attacker uses standard SQL injection methods to inject data into the command line for execution. This could be done directly through misuse of directives such as MSSQL_xp_cmdshell or indirectly through injection of data into the database that would be interpreted as shell commands. Sometime later, an unscrupulous backend application (or could be part of the functionality of the same application) fetches the injected data stored in the database and uses this data as command line arguments without performing proper validation. The malicious data escapes that data plane by spawning new commands to be executed on the host.

Nessus

  • NASL familyCISCO
    NASL idCISCO-SN-CVE-2014-3262-IOSXE.NASL
    descriptionThe remote Cisco device is potentially affected by an issue related to the handling of certain parameters in Locator/ID Separation Protocol (LISP) control messages sent to the ingress tunnel router (ITR) component. A remote, unauthenticated attacker could exploit this issue by sending specially crafted LISP control messages to cause a denial of service.
    last seen2020-06-01
    modified2020-06-02
    plugin id79250
    published2014-11-14
    reporterThis script is Copyright (C) 2014-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/79250
    titleCisco IOS XE LISP ITR DoS (CSCun73782)
    code
    #TRUSTED 2969d3b447eab38e6cb87aba6b07a569870c53e28611ea3afb6f636fb59689cdac5f22973c6e6bd5dd6285b9accf86c77bb23188f3c6f030490937f5c25d0e52ec546170ccf7d8ee2a4ca6d2c6eedce94331dbc734fc10bb8cc655b70f3139106a3a29460dd7fa5971d9f398bc5c796394fb31d1fe527c8ac1bf334659641b6a7329bc0ad3fddceebc5c76a57084e5c0b1141f85af4b8165d85ae74487a986e21d163649eb1972a777ee20b6f8899e760d48a6896fce1f89eee5fad440dc1903fc73c09d46d26c25edc2ae04b0977390e47f26f4c75819cd05db934d1155b068a8ed06b4b63650a6f55c4d32368d04d8a720b13000e330517aa97ad74c5782be2fdcf0a56a8e89afd3da00a4526a85c0f2438636564493aeabbd4549606cd95134c59f4d01bc4936a24fa3fbdd4fb1dfe031cd1b400db919f314bf4040dd2311c506e7bdc80904bce74830b47fafd2e90f77d7a6a7470c80fd3bfd862d89736c0688dc2ecaa81895d6641e3554781568794b462691af9a190507b0c2a35826e1e8f09af15dbfb9f9546779b5399827df33a1488a8d3f7c52950282f742ef8476b18742d72f1425746963ba33aaba86ce64a71516de3749b174fcc31c17b443596e24d4ed44d754f5241a73c9f68ab64989f2c30dff059ea01923188fd3aecb9293e88319c32d317cd0ff62f276c65723af0d3321f5f81dcad1b958246c36f05b
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(79250);
      script_version("1.9");
      script_cvs_date("Date: 2019/11/25");
    
      script_cve_id("CVE-2014-3262");
      script_bugtraq_id(67399);
      script_xref(name:"CISCO-BUG-ID", value:"CSCun73782");
    
      script_name(english:"Cisco IOS XE LISP ITR DoS (CSCun73782)");
      script_summary(english:"Checks IOS XE version.");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote device is running a vulnerable IOS XE version.");
      script_set_attribute(attribute:"description", value:
    "The remote Cisco device is potentially affected by an issue related to
    the handling of certain parameters in Locator/ID Separation Protocol
    (LISP) control messages sent to the ingress tunnel router (ITR)
    component. A remote, unauthenticated attacker could exploit this issue
    by sending specially crafted LISP control messages to cause a denial
    of service.");
      # https://tools.cisco.com/security/center/viewAlert.x?alertId=34233
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?1b307af3");
      script_set_attribute(attribute:"see_also", value:"https://tools.cisco.com/security/center/viewAlert.x?alertId=34233");
      script_set_attribute(attribute:"solution", value:
    "Upgrade to the relevant fixed version referenced in Cisco bug ID
    CSCun73782.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_attribute(attribute:"cvss_score_source", value:"CVE-2014-3262");
    
      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:"2014/05/14");
      script_set_attribute(attribute:"patch_publication_date", value:"2014/05/30");
      script_set_attribute(attribute:"plugin_publication_date", value:"2014/11/14");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:cisco:ios_xe");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"CISCO");
    
      script_copyright(english:"This script is Copyright (C) 2014-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      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");
    
    version = get_kb_item_or_exit("Host/Cisco/IOS-XE/Version");
    if (version !~ "^3\.10\.[0-2]S$" && version !~ "^3\.11\.[01]S$") audit(AUDIT_INST_VER_NOT_VULN, "Cisco IOS XE software", version);
    
    flag     = FALSE;
    override = FALSE;
    
    if (get_kb_item("Host/local_checks_enabled"))
    {
      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+ipv[46]\sitr(\s|$)", string:buf))
          flag = TRUE;
      }
      else if (cisco_needs_enable(buf)) override = TRUE;
    }
    
    if (!flag && !override) audit(AUDIT_HOST_NOT, "affected");
    
    if (report_verbosity > 0)
    {
      report =
        '\n  Cisco Bug ID        : CSCun73782' +
        '\n    Installed release : ' + version + 
        '\n';
      security_warning(port:0, extra:report+cisco_caveat(override));
    }
    else security_warning(port:0, extra:cisco_caveat(override));
    
  • NASL familyCISCO
    NASL idCISCO-SN-CVE-2014-3262-IOS.NASL
    descriptionThe remote Cisco device is potentially affected by an issue related to the handling of certain parameters in Locator/ID Separation Protocol (LISP) control messages sent to the ingress tunnel router (ITR) component. A remote, unauthenticated attacker could exploit this issue by sending specially crafted LISP control messages to cause a denial of service.
    last seen2020-06-01
    modified2020-06-02
    plugin id79249
    published2014-11-14
    reporterThis script is Copyright (C) 2014-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/79249
    titleCisco IOS LISP ITR DoS (CSCun73782)
    code
    #TRUSTED 1633c585ebdd21eb0672cd7141b2ec6b6c018fc1d6d70d584d63047237f16800846ba2b9ea7912d0c94114b05285befccfeccb9bd2f9f2fee6b7858ebe247bd14fc6a10998a571a97a8de81ed3b3a93652ee89470634d1fe278f2a539b5fd1fd81f69b119aeca5ee9723d40365f88d60679e3cd4868cfddf45b03ff172df3cb69d3cc5e4ee1417682c003a1badaaf85240614ab86b910140e1ec9c3996313e278baa429688c3216ef761a508a9936461fb8a637a2487fb8f3498d56b7a5e181186ebb11e2e9624890c26c8acead406ea13dadf255a33afc5ab9a04896d0d3bca35798138c96c37657728cdbf1c74ca59c11a2fa57a7cab150fe317cd0febfec27ddac99058285628eb6fb81c4affbf98cde938f16fa3d11edd14926346f5b4685623d6e75d3709340188d7734c9092239c3ae0c46bb3ee59fa69dfd1ffae15bf4607b01c38a5f2a8671d6830e80762286f094007cd1917cba9d9dbf722acc2d75aa065be42e024eb47aefde205eec31f4c8138b9d8078b9dc9c2bbc7b051c0e9cbdbf6452591e5d65d04d82bd773f045c356530809a911df33f34d4674be19c8874260df50642bf0de63c7c22c0aece49aa3fecf43640d16083e757d510c1541b52264af15282071ee7a84842c48f7dc3c18104c87e4a61a0661baa6156d5be1add0a1100403e861e6fe12af3444b4b1efdf17860942ff2369408b5336d0e1ee
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(79249);
      script_version("1.9");
      script_cvs_date("Date: 2019/11/25");
    
      script_cve_id("CVE-2014-3262");
      script_bugtraq_id(67399);
      script_xref(name:"CISCO-BUG-ID", value:"CSCun73782");
    
      script_name(english:"Cisco IOS LISP ITR DoS (CSCun73782)");
      script_summary(english:"Checks the IOS version.");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote device is running a vulnerable IOS version.");
      script_set_attribute(attribute:"description", value:
    "The remote Cisco device is potentially affected by an issue related to
    the handling of certain parameters in Locator/ID Separation Protocol
    (LISP) control messages sent to the ingress tunnel router (ITR)
    component. A remote, unauthenticated attacker could exploit this issue
    by sending specially crafted LISP control messages to cause a denial
    of service.");
      # https://tools.cisco.com/security/center/viewAlert.x?alertId=34233
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?1b307af3");
      script_set_attribute(attribute:"see_also", value:"https://tools.cisco.com/security/center/viewAlert.x?alertId=34233");
      script_set_attribute(attribute:"solution", value:
    "Upgrade to the relevant fixed version referenced in Cisco bug ID
      CSCun73782.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_attribute(attribute:"cvss_score_source", value:"CVE-2014-3262");
    
      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:"2014/05/14");
      script_set_attribute(attribute:"patch_publication_date", value:"2014/05/30");
      script_set_attribute(attribute:"plugin_publication_date", value:"2014/11/14");
    
      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) 2014-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      script_dependencies("cisco_ios_version.nasl");
      script_require_keys("Host/Cisco/IOS/Version");
      script_require_ports("Host/Cisco/IOS/Model", "CISCO/model");
    
      exit(0);
    }
    
    include("audit.inc");
    include("cisco_func.inc");
    include("cisco_kb_cmd_func.inc");
    
    # check model
    model = get_kb_item("CISCO/model");
    if (isnull(model)) model = get_kb_item_or_exit("Host/Cisco/IOS/Model");
    if (model !~ "(^|[^0-9]+)(8|9|18|19|28|29|38|39|72)[0-9][0-9]($|[^0-9])") audit(AUDIT_HOST_NOT, "affected");
    
    version = get_kb_item_or_exit("Host/Cisco/IOS/Version");
    
    if (
      version == "15.3(3)XB12" ||
      version == "15.2(4)XB9"  ||
      version =~ "^15\.3\(3\)[MS]($|[01]($|[^0-9]))"  ||
      version =~ "^15\.3\(3\)M2($|\.[0-3]($|[^0-9]))" ||
      version =~ "^15\.3\(3\)S2($|\.[0-7]($|[^0-9]))" ||
      version =~ "^15\.4\([12]\)S($|0($|[^0-9]))" ||
      version =~ "^15\.4\(1\)S1($|\.[0-2]($|[^0-9]))" ||
      version =~ "^15\.4\(2\)S0($|\.[0-2]($|[^0-9]))"
    )
    {
      flag     = FALSE;
      override = FALSE;
    
      if (get_kb_item("Host/local_checks_enabled"))
      {
        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+ipv[46]\sitr(\s|$)", string:buf))
            flag = TRUE;
        }
        else if (cisco_needs_enable(buf)) override = TRUE;
      }
    
      if (!flag && !override) audit(AUDIT_HOST_NOT, "affected");
    
      if (report_verbosity > 0)
      {
        report =
          '\n  Cisco Bug ID        : CSCun73782' +
          '\n    Installed release : ' + version + 
          '\n';
    
        security_warning(port:0, extra:report+cisco_caveat(override));
        exit(0);
      }
      else security_warning(port:0, extra:cisco_caveat(override));
    }
    else audit(AUDIT_INST_VER_NOT_VULN, "Cisco IOS software", version);