Vulnerabilities > CVE-2017-3808 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in Cisco Unified Communications Manager

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

Summary

A vulnerability in the Session Initiation Protocol (SIP) UDP throttling process of Cisco Unified Communications Manager (Cisco Unified CM) could allow an unauthenticated, remote attacker to cause a denial of service (DoS) condition on an affected device. The vulnerability is due to insufficient rate limiting protection. An attacker could exploit this vulnerability by sending the affected device a high rate of SIP messages. An exploit could allow the attacker to cause the device to reload unexpectedly. The device and services will restart automatically. This vulnerability affects Cisco Unified Communications Manager (CallManager) releases prior to the first fixed release; the following list indicates the first minor release that includes the fix for this vulnerability: 10.5.2.14900-16 11.0.1.23900-5 11.5.1.12900-2. Cisco Bug IDs: CSCuz72455.

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-SA-20170419-UCM-UNIFIED_COMMUNICATIONS_MANAGER.NASL
    descriptionAccording to its self-reported version, the Cisco Unified Communications Manager is affected by one or more vulnerabilities. Please see the included Cisco BIDs and the Cisco Security Advisory for more information.
    last seen2020-06-01
    modified2020-06-02
    plugin id103511
    published2017-09-27
    reporterThis script is Copyright (C) 2017-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/103511
    titleCisco Unified Communications Manager Denial of Service Vulnerability
    code
    #TRUSTED 084630dac2da3840d5e87cde2f693395d971079ed264b81d526f0da692cf5bddc0bdc201c58c698d13937dd90b15e41d9f2ef12dfbd60fdb699e628f4cb6281e6b5b001b2d271cfc26cd4e4deb1853ee45cff38f5497662fcc6f7f4d4d1fb3b5ed935a04154239e962d6346702449b66a131242fd69c437859bbc032e05f3d2d053b5633eb65b456d3e8ce5c54701d4053a5ebef9f9228cba7b778edc6e777159ce70828cd75cab397a294f3a44f4a08a2ebd6a00e29b2c11d45dc6db659fa0c0f0dd5e2262a1b18de79c51fc519eb9a7a1e44caa548ac6e5e66f68822cf011b8b404ac151b6f1df851df4bca48d4e17efca525e205dbdb8f895b522878ba7578ad7ce299885eb7c7f6092acb41815d8871dd1c432baa9a91dfaf2b492c54614a4c3c411c3c56b47b4cd15f0a62b2630783bf6f33851402955a4340c8f124af5087c2bd72e75f554c29868acac0ea0fc0703465ad6304deb4ea454bae1193ea326b9e4dedf28a7e876c02fd492d766de465ee726487be5ce3e1108e11da941375837bb5e91cf1888708b57921e665e72cc1a0bea9280ac4f4ef567e1565cdaac379a31e937961dbcfa0da47178d69e344fb6d6cc1a61002843c677afa41c20f88bd7d96040fb0b8aef734bad8e33b72ebb90c364c8cc4920820224fea506796cf199a8883c7dff6fdf7c9eef0a676a05de808db91f25d009267427e73425b836
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(103511);
      script_version("1.7");
      script_cvs_date("Date: 2019/12/20");
    
      script_cve_id("CVE-2017-3808");
      script_bugtraq_id(97922);
      script_xref(name:"CISCO-BUG-ID", value:"CSCuz72455");
      script_xref(name:"CISCO-SA", value:"cisco-sa-20170419-ucm");
    
      script_name(english:"Cisco Unified Communications Manager Denial of Service Vulnerability");
      script_summary(english:"Checks the Cisco Unified Communications Manager 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 Cisco Unified
    Communications Manager 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-20170419-ucm
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?a2de6197");
      script_set_attribute(attribute:"see_also", value:"https://bst.cloudapps.cisco.com/bugsearch/bug/CSCuz72455");
      script_set_attribute(attribute:"solution", value:
    "Upgrade to the relevant fixed version referenced in Cisco bug ID(s)
    CSCuz72455.");
      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:U/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-2017-3808");
    
      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:"2017/04/19");
      script_set_attribute(attribute:"patch_publication_date", value:"2017/04/19");
      script_set_attribute(attribute:"plugin_publication_date", value:"2017/09/27");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:cpe:/a:cisco:unified_communications_manager");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"CISCO");
    
      script_copyright(english:"This script is Copyright (C) 2017-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      script_dependencies("cisco_ucm_detect.nbin");
      script_require_keys("Host/Cisco/CUCM/Version", "Host/Cisco/CUCM/Version_Display");
    
      exit(0);
    }
    
    include("audit.inc");
    include("cisco_workarounds.inc");
    include("ccf.inc");
    
    
    product_info = cisco::get_product_info(name:"Cisco Unified Communications Manager");
    
    version_list = make_list(
      "10.0.",
      "10.0.1.10000-12.",
      "10.5.",
      "10.5.1.98991-13.",
      "10.5.2.10000-5.",
      "10.5.1.99995-9.",
      "10.5.3.10000-9.",
      "10.5.0.98000-88.",
      "10.5.2.13900-9.",
      "10.5.2.12901-1.",
      "11.0.0.98000-225.",
      "11.0.1.10000-10.",
      "11.5.0.98000-480.",
      "11.5.0.",
      "11.5.0.98000-486.",
      "11.5.0.99838-4.",
      "11.5.1.2.",
      "11.5.1.10000-6.",
      "11.5.1.11007-2.",
      "11.5.1.12000-1."
    );
    
    workarounds = make_list(CISCO_WORKAROUNDS['no_workaround']);
    workaround_params = make_list();
    
    
    reporting = make_array(
      'port'     , 0,
      'severity' , SECURITY_HOLE,
      'version'  , product_info['version'],
      'bug_id'   , "CSCuz72455"
    );
    
    cisco::check_and_report(product_info:product_info, workarounds:workarounds, workaround_params:workaround_params, reporting:reporting, vuln_versions:version_list);
    
  • NASL familyCISCO
    NASL idCISCO_CUCM_CSCUZ72455.NASL
    descriptionAccording to its self-reported version, the Cisco Unified Communications Manager (CUCM) running on the remote device is affected by a denial of service vulnerability in the Session Initiation Protocol (SIP) UDP throttling process due to insufficient rate limiting protection. An unauthenticated, remote attacker can exploit this, by sending a high rate of SIP messages, to cause the device to reload unexpectedly.
    last seen2020-06-01
    modified2020-06-02
    plugin id99706
    published2017-04-27
    reporterThis script is Copyright (C) 2017-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/99706
    titleCisco Unified Communications Manager SIP UDP Throttling DoS (CSCuz72455)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(99706);
      script_version("1.6");
      script_cvs_date("Date: 2018/07/06 11:26:06");
    
      script_cve_id("CVE-2017-3808");
      script_bugtraq_id(97922);
      script_xref(name:"CISCO-BUG-ID", value:"CSCuz72455");
      script_xref(name:"CISCO-SA", value:"cisco-sa-20170419-ucm");
    
      script_name(english:"Cisco Unified Communications Manager SIP UDP Throttling DoS (CSCuz72455)");
      script_summary(english:"Checks the version of Cisco Unified Communications Manager (CUCM).");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote device is affected by a denial of service vulnerability.");
      script_set_attribute(attribute:"description", value:
    "According to its self-reported version, the Cisco Unified
    Communications Manager (CUCM) running on the remote device is affected
    by a denial of service vulnerability in the Session Initiation
    Protocol (SIP) UDP throttling process due to insufficient rate
    limiting protection. An unauthenticated, remote attacker can exploit
    this, by sending a high rate of SIP messages, to cause the device to
    reload unexpectedly.");
      # https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170419-ucm
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?a2de6197");
      script_set_attribute(attribute:"see_also", value:"https://bst.cloudapps.cisco.com/bugsearch/bug/CSCuz72455/");
      script_set_attribute(attribute:"solution", value:
    "Upgrade to Cisco Unified Communications Manager version
    10.5(2.14900.16) / 11.0(1.23900.5) / 11.5(1.12900.2) or later.");
      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:U/C:N/I:N/A:H");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/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:"2017/04/19");
      script_set_attribute(attribute:"patch_publication_date", value:"2017/04/19");
      script_set_attribute(attribute:"plugin_publication_date", value:"2017/04/27");
    
      script_set_attribute(attribute:"plugin_type", value:"combined");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:cisco:unified_communications_manager");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"CISCO");
    
      script_copyright(english:"This script is Copyright (C) 2017-2018 Tenable Network Security, Inc.");
    
      script_dependencies("cisco_ucm_detect.nbin");
      script_require_keys("Host/Cisco/CUCM/Version", "Host/Cisco/CUCM/Version_Display");
      exit(0);
    }
    
    include("audit.inc");
    include("global_settings.inc");
    include("misc_func.inc");
    
    ver         = get_kb_item_or_exit("Host/Cisco/CUCM/Version");
    ver_display = get_kb_item_or_exit("Host/Cisco/CUCM/Version_Display");
    fix_display = FALSE;
    app_name    = "Cisco Unified Communications Manager (CUCM)";
    
    if (ver =~ "^10\." && ver_compare(ver:ver, fix:'10.5.2.14900.16', strict:FALSE) < 0)
      fix_display = "10.5(2.14900.16)";
    else if (ver =~ "^11\.0" && ver_compare(ver:ver, fix:'11.0.1.23900.5', strict:FALSE) < 0)
      fix_display = "11.0(1.23900.5)";
    else if (ver =~ "^11\.[1-5]" && ver_compare(ver:ver, fix:'11.5.1.12900.2', strict:FALSE) < 0)
      fix_display = "11.5(1.12900.2)";
    
    if (!fix_display)
      audit(AUDIT_INST_VER_NOT_VULN, app_name, ver_display);
    
    order  = make_list('Cisco bug ID', 'Installed release', 'Fixed release');
    report = make_array(
      order[0], "CSCuz72455",
      order[1], ver_display,
      order[2], fix_display
    );
    report = report_items_str(report_items:report, ordered_fields:order);
    security_report_v4(extra:report, port:0, severity:SECURITY_HOLE);