Vulnerabilities > CVE-2018-0467 - Improper Input Validation vulnerability in Cisco IOS XE 15.6(2)Sp/16.6.1/Everest16.6.1

047910
CVSS 8.6 - HIGH
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
NONE
Integrity impact
NONE
Availability impact
HIGH
network
low complexity
cisco
CWE-20
nessus

Summary

A vulnerability in the IPv6 processing code of Cisco IOS and IOS XE Software could allow an unauthenticated, remote attacker to cause the device to reload. The vulnerability is due to incorrect handling of specific IPv6 hop-by-hop options. An attacker could exploit this vulnerability by sending a malicious IPv6 packet to or through the affected device. A successful exploit could allow the attacker to cause the device to reload, resulting in a denial of service (DoS) condition on an affected device.

Vulnerable Configurations

Part Description Count
OS
Cisco
3

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-SA-20180926-IPV6HBH-IOS.NASL
    descriptionAccording to its self-reported version, the IOS is affected by one or more vulnerabilities. Please see the included Cisco BIDs and the Cisco Security Advisory for more information.
    last seen2020-04-30
    modified2018-10-05
    plugin id117949
    published2018-10-05
    reporterThis script is Copyright (C) 2018-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/117949
    titleCisco IOS Software IPv6 Hop-by-Hop DoS Vulnerability (cisco-sa-20180926-ipv6hbh)
    code
    #TRUSTED 4494572a8c15c54a73e30b759631168838396c3e349edf1196b200199063c83f81fe6758842a10369b5aa1853d0748cae60af07a73fedf38d7eec443fe884687ecaa5ac17d74b6654e33d3fe50888f9859ebf7bc4ff5a005a4c0e5a34d5d62c3296a08b270a118af1e57376e5361c416bfe5850d66a8d39b48a800da2f4aa84fe305588f5b346044a2a5d78287c6c8f95e919ad8389186a119eed1ad60e6e3cfb71f9826ba6504aa96ec4d0baaf2ca7b2af9e9a3ca5f530f0da741271766b3f3200cc22084e9c7167749b91ad03436b0deb2a61886981ef8fd755fe3da05cd3059191f4a22e37318475c4466f8a64d47412bd9f9654fb884aa7bd990dc334c5f2fadc4bb15d1b0421e093c66d0922e18192d5dca19f97650c13be4b62b5fdcc016aee6313e412d07461f22bd043b93df8d56240f09d893286a77abafdef805c9a96c2b99be7a8aaee478d36f569d3f505eee2fcf9a00541a1fda6203f93cbb082c360863166b972045a0e4553f56d3928a05f5645558c3cd8fb288b65770827f51375f62844ba6a8738bacd9f45ac6291c24c081e07c568b516d224a87f295e4dd57c138d93751c5cfc757802ecd11ba621467121fb9dadde9a649c6574748eef77295c62e04b22c8a3a93b9b04757e287d075d24ad0836d78d3600ecd43fd6dd3e3695bff07e5d51689f7b49ef3abb747bd0e688e198188ad2ac676651da808
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(117949);
      script_version("1.6");
      script_set_attribute(attribute:"plugin_modification_date", value:"2020/04/27");
    
      script_cve_id("CVE-2018-0467");
      script_xref(name:"CISCO-BUG-ID", value:"CSCuz28570");
      script_xref(name:"CISCO-SA", value:"cisco-sa-20180926-ipv6hbh");
      script_xref(name:"IAVA", value:"2018-A-0312");
    
      script_name(english:"Cisco IOS Software IPv6 Hop-by-Hop DoS Vulnerability (cisco-sa-20180926-ipv6hbh)");
      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 IOS is affected
    by one or more vulnerabilities. Please see the included Cisco BIDs
    and the Cisco Security Advisory for more information.");
      # https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20180926-ipv6hbh
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?6d5b700b");
      script_set_attribute(attribute:"see_also", value:"https://bst.cloudapps.cisco.com/bugsearch/bug/CSCuz28570");
      script_set_attribute(attribute:"solution", value:
    "Upgrade to the relevant fixed version referenced in Cisco bug ID(s)
    CSCuz28570.");
      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_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
      script_set_attribute(attribute:"cvss_score_source", value:"CVE-2018-0467");
    
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2018/09/26");
      script_set_attribute(attribute:"patch_publication_date", value:"2018/09/26");
      script_set_attribute(attribute:"plugin_publication_date", value:"2018/10/05");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:cpe:/o:cisco:ios");
      script_set_attribute(attribute:"stig_severity", value:"I");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"CISCO");
    
      script_copyright(english:"This script is Copyright (C) 2018-2020 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      script_dependencies("cisco_ios_version.nasl");
      script_require_keys("Host/Cisco/IOS/Version");
    
      exit(0);
    }
    
    include("audit.inc");
    include("cisco_workarounds.inc");
    include("ccf.inc");
    
    product_info = cisco::get_product_info(name:"Cisco IOS");
    
    version_list = make_list(
      "15.3(3)S",
      "15.3(3)S1",
      "15.3(3)S2",
      "15.3(3)S3",
      "15.3(3)S6",
      "15.3(3)S4",
      "15.3(3)S1a",
      "15.3(3)S5",
      "15.3(3)S7",
      "15.3(3)S8",
      "15.3(3)S9",
      "15.3(3)S8a",
      "15.2(3)E",
      "15.2(4)E",
      "15.2(3)E1",
      "15.2(3)E2",
      "15.2(3a)E",
      "15.2(3)E3",
      "15.2(4)E1",
      "15.2(4)E2",
      "15.2(4m)E1",
      "15.2(3)E4",
      "15.2(5)E",
      "15.2(4)E3",
      "15.2(5)E1",
      "15.2(5b)E",
      "15.2(4m)E3",
      "15.2(3)E5",
      "15.2(4n)E2",
      "15.2(4o)E2",
      "15.2(4)E4",
      "15.2(5)E2",
      "15.2(4p)E1",
      "15.2(5)E2b",
      "15.2(4m)E2",
      "15.2(4o)E3",
      "15.2(4q)E1",
      "15.2(4s)E1",
      "15.4(2)S",
      "15.4(3)S",
      "15.4(2)S1",
      "15.4(3)S1",
      "15.4(2)S2",
      "15.4(3)S2",
      "15.4(3)S3",
      "15.4(2)S3",
      "15.4(2)S4",
      "15.4(3)S4",
      "15.4(3)S5",
      "15.4(3)S6",
      "15.4(3)S7",
      "15.4(3)S6a",
      "15.5(1)S",
      "15.5(2)S",
      "15.5(1)S1",
      "15.5(3)S",
      "15.5(1)S2",
      "15.5(1)S3",
      "15.5(2)S1",
      "15.5(2)S2",
      "15.5(3)S1a",
      "15.5(2)S3",
      "15.5(3)S2",
      "15.5(3)S3",
      "15.5(1)S4",
      "15.5(2)S4",
      "15.5(3)S4",
      "15.5(3)S5",
      "15.2(3)EA",
      "15.2(4)EA",
      "15.2(4)EA1",
      "15.2(5)EA",
      "15.2(4)EA5",
      "15.4(2)SN",
      "15.4(2)SN1",
      "15.4(3)SN1",
      "15.4(3)SN1a",
      "15.5(3)M",
      "15.5(3)M1",
      "15.5(3)M2",
      "15.5(3)M2a",
      "15.5(3)M3",
      "15.5(3)M4",
      "15.5(3)M4a",
      "15.5(3)M5",
      "15.5(3)M4b",
      "15.5(3)M4c",
      "15.5(3)M5a",
      "15.5(1)SN",
      "15.5(1)SN1",
      "15.5(2)SN",
      "15.5(3)SN0a",
      "15.5(3)SN",
      "15.6(1)S",
      "15.6(2)S",
      "15.6(2)S1",
      "15.6(1)S1",
      "15.6(1)S2",
      "15.6(2)S2",
      "15.6(1)S3",
      "15.6(2)S3",
      "15.6(1)T",
      "15.6(2)T",
      "15.6(1)T0a",
      "15.6(1)T1",
      "15.6(2)T1",
      "15.6(1)T2",
      "15.6(2)T2",
      "15.6(1)T3",
      "15.6(2)SP",
      "15.6(2)SP1",
      "15.6(2)SP2",
      "15.6(2)SP3b",
      "15.6(1)SN",
      "15.6(1)SN1",
      "15.6(2)SN",
      "15.6(1)SN2",
      "15.6(1)SN3",
      "15.6(3)SN",
      "15.6(4)SN",
      "15.6(5)SN",
      "15.6(6)SN",
      "15.6(3)M",
      "15.6(3)M1",
      "15.6(3)M0a",
      "15.6(3)M1a",
      "15.6(3)M2",
      "15.6(3)M2a",
      "15.1(3)SVK4b"
      );
    
    workarounds = make_list(CISCO_WORKAROUNDS['ipv6_enabled']);
    workaround_params = make_list();
    
    reporting = make_array(
      'port'     , 0,
      'severity' , SECURITY_HOLE,
      'version'  , product_info['version'],
      'bug_id'   , "CSCuz28570",
      'cmds'     , make_list("show running-config")
    );
    
    cisco::check_and_report(product_info:product_info, workarounds:workarounds, workaround_params:workaround_params, reporting:reporting, vuln_versions:version_list);
    
  • NASL familyCISCO
    NASL idCISCO-SA-20180926-IPV6HBH-IOSXE.NASL
    descriptionAccording to its self-reported version, the IOS XE is affected by one or more vulnerabilities. Please see the included Cisco BIDs and the Cisco Security Advisory for more information.
    last seen2020-04-30
    modified2018-10-05
    plugin id117950
    published2018-10-05
    reporterThis script is Copyright (C) 2018-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/117950
    titleCisco IOS XE Software IPv6 Hop-by-Hop DoS Vulnerability (cisco-sa-20180926-ipv6hbh)
    code
    #TRUSTED 34e1333bc70e207ebbe5815af64dfd7c294f137add42d58a0dad9c92c86cd92e8383a3e5683ca6d00b178a6888234fdc874f7cbb48dde480d2b99c2763356ef747ae1d6694c13ac07c6f3d11f62935f1d450ac51e3ecdcf1abbbe94d7976d2a63df4eabdd7fd0e5dde3b2e0d39499796e3959bc22fc1a7bff9bb2e4e806d98e3149fbcfa5029009376808b2d02a425c53778cfc81b5788863c83bd8ca63dac602aff7c786b756827f8b37fbb65fdc2c140a91c3b2fcbf54ec29c6910fdc7c87395b748c4182d6bb3a0a4ed02d6735fdc8e25644f599aadc460e9ae2e9007ad6c56025eadac4cc96990a55c3e80b03660e494ba2427d342b292870f1dcef4ecf4aad2419f9f509fa191f505851e9d0f0828e82a25529f0248c59bb883b5c1df98f4cc8a5a67165259183ca3094bcc418ecb55a223480968ca7a475c6b3f54c1831daa80071dd8ac91a600cd8de19261a1d02c391a6fc7115e30d28f8d57316c9629b02359c9fcf5e69bca6272af018c8af7c321edfcde3c02b64b70927c2059cf749ec69eb38901b1f506d9e3aae7e6e60e4366a6304a013b012e1550cd02e92ae83d09cf4d1711d2fc772671bcd8e2ae11010247f6f037d36a63d13bca30b362574813102e4118688163e6b8c7f41bd62a171fe553d7748056a6a5361a9d86cd1849601d2510387c5654696aff7a93450105b4dceb357ca4968a12979111a3dd
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(117950);
      script_version("1.8");
      script_set_attribute(attribute:"plugin_modification_date", value:"2020/04/27");
    
      script_cve_id("CVE-2018-0467");
      script_xref(name:"CISCO-BUG-ID", value:"CSCuz28570");
      script_xref(name:"CISCO-SA", value:"cisco-sa-20180926-ipv6hbh");
    
      script_name(english:"Cisco IOS XE Software IPv6 Hop-by-Hop DoS Vulnerability (cisco-sa-20180926-ipv6hbh)");
      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 IOS XE is affected
    by one or more vulnerabilities. Please see the included Cisco BIDs
    and the Cisco Security Advisory for more information.");
      # https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20180926-ipv6hbh
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?6d5b700b");
      script_set_attribute(attribute:"see_also", value:"https://bst.cloudapps.cisco.com/bugsearch/bug/CSCuz28570");
      script_set_attribute(attribute:"solution", value:
    "Upgrade to the relevant fixed version referenced in Cisco bug ID(s)
    CSCuz28570.");
      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_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
      script_set_attribute(attribute:"cvss_score_source", value:"CVE-2018-0467");
    
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2018/09/26");
      script_set_attribute(attribute:"patch_publication_date", value:"2018/09/26");
      script_set_attribute(attribute:"plugin_publication_date", value:"2018/10/05");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/o: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) 2018-2020 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_workarounds.inc");
    include("ccf.inc");
    
    product_info = cisco::get_product_info(name:"Cisco IOS XE Software");
    
    version_list = make_list(
      "3.10.4S",
      "3.12.0S",
      "3.12.1S",
      "3.12.2S",
      "3.12.3S",
      "3.12.0aS",
      "3.12.4S",
      "3.13.0S",
      "3.13.1S",
      "3.13.2S",
      "3.13.3S",
      "3.13.4S",
      "3.13.5S",
      "3.13.2aS",
      "3.13.0aS",
      "3.13.5aS",
      "3.13.6S",
      "3.13.7S",
      "3.13.6aS",
      "3.13.6bS",
      "3.13.7aS",
      "3.14.0S",
      "3.14.1S",
      "3.14.2S",
      "3.14.3S",
      "3.14.4S",
      "3.15.0S",
      "3.15.1S",
      "3.15.2S",
      "3.15.1xbS",
      "3.15.1cS",
      "3.15.2xbS",
      "3.15.3S",
      "3.15.4S",
      "3.7.0E",
      "3.7.1E",
      "3.7.2E",
      "3.7.3E",
      "3.7.4E",
      "3.7.5E",
      "3.16.0S",
      "3.16.1S",
      "3.16.0aS",
      "3.16.1aS",
      "3.16.2S",
      "3.16.2aS",
      "3.16.0bS",
      "3.16.0cS",
      "3.16.3S",
      "3.16.2bS",
      "3.16.3aS",
      "3.16.4S",
      "3.16.4aS",
      "3.16.4bS",
      "3.16.4gS",
      "3.16.5S",
      "3.16.4cS",
      "3.16.4dS",
      "3.16.4eS",
      "3.16.5aS",
      "3.16.5bS",
      "3.17.0S",
      "3.17.1S",
      "3.17.2S ",
      "3.17.1aS",
      "3.17.3S",
      "16.2.1",
      "16.2.2",
      "3.8.0E",
      "3.8.1E",
      "3.8.2E",
      "3.8.3E",
      "3.8.4E",
      "16.3.1",
      "16.3.2",
      "16.3.3",
      "16.3.1a",
      "16.3.4",
      "16.4.1",
      "16.4.2",
      "16.5.1",
      "16.5.1a",
      "16.5.1b",
      "3.18.0aS",
      "3.18.0S",
      "3.18.1S",
      "3.18.2S",
      "3.18.3S",
      "3.18.0SP",
      "3.18.1SP",
      "3.18.1aSP",
      "3.18.1gSP",
      "3.18.1bSP",
      "3.18.1cSP",
      "3.18.2SP",
      "3.18.1hSP",
      "3.18.2aSP",
      "3.18.1iSP",
      "3.9.0E",
      "3.9.1E",
      "3.9.2E",
      "3.9.2bE",
      "16.9.1h"
      );
    
    workarounds = make_list(CISCO_WORKAROUNDS['ipv6_enabled']);
    workaround_params = make_list();
    
    reporting = make_array(
      'port'     , 0,
      'severity' , SECURITY_HOLE,
      'version'  , product_info['version'],
      'bug_id'   , "CSCuz28570",
      'cmds'     , make_list("show running-config")
    );
    
    cisco::check_and_report(product_info:product_info, workarounds:workarounds, workaround_params:workaround_params, reporting:reporting, vuln_versions:version_list);