Vulnerabilities > CVE-2019-12711 - XXE vulnerability in Cisco Unified Communications Manager

047910
CVSS 6.4 - MEDIUM
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
PARTIAL
Integrity impact
NONE
Availability impact
PARTIAL
network
low complexity
cisco
CWE-611
nessus

Summary

A vulnerability in the web-based interface of Cisco Unified Communications Manager and Cisco Unified Communications Manager Session Management Edition (SME) could allow an unauthenticated, remote attacker to access sensitive information or cause a denial of service (DoS) condition. The vulnerability is due to improper restrictions on XML entities. An attacker could exploit this vulnerability by sending malicious requests to an affected system that contain references in XML entities. A successful exploit could allow the attacker to retrieve files from the local system, resulting in the disclosure of sensitive information, or cause the application to consume available resources, resulting in a DoS condition.

Nessus

NASL familyCISCO
NASL idCISCO-SA-20191002-CUCM-XXE.NASL
descriptionAccording to its self-reported version, Cisco Unified Communications Manager is affected by an XML external entity (XXE) vulnerability. This is due to an incorrectly configured XML parser accepting XML external entities from an untrusted source. An unauthenticated, remote attacker can exploit this, via specially crafted XML data, to disclose sensitive information, or casue the application to consume available resources which would result in Denial of Service.
last seen2020-04-30
modified2020-04-22
plugin id135897
published2020-04-22
reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
sourcehttps://www.tenable.com/plugins/nessus/135897
titleCisco Unified Communications Manager XML External Expansion Vulnerability (cisco-sa-20191002-cucm-xxe)
code
#TRUSTED 9d9f3a2284d962c3d72ccec3b5b9867e1160d2e059cbbd27c281f66e539c8b4984a274543d7fd7408537e742b0c88b4e0055b8b493fa201e632158b56b694d5513cd240f22458b98863793ed0bcf49526c6858f238443eed79505a4acc4251eb6adc58346479e14e5f76fb9ffe02bb4d0f7f39340315db32bd73603764e71f78ff7444ca29ba62c7ab201ff7cc1e4bb181612db308d7939e1bf49796918100caa993e4ac0e2ab1ed2521a8ab35a98bed39349bef534f2703611ae3c946d49e8994b27b4aef6192f88714e66e47515ffa5e0457e5e4f2184536472926fa4a8bec14662c5cf210ba8b24696e30d19a4e600873dae4108e3bdacafa23799d81788134b2af4f6b21541da6f80f544622325e8ef6383d6591b4163b754cb2577977fabc20acfc9f29843c0259af2ecd87859714eefe20c278b64a7f37e0aa1bc91749edb3a15b96dd2a573521a66dcba839f4ee5deb21a623908d592a1fb3f0956e32ccceb6a8e3ee83ff64c8e88fa2ebae2bbb0541beff8bd32ed108d87f234facc4f79f03603963d3cb555a3fa3b9cd630894e4dce867f5e65be055e8df50426d98eebaeb6fab82a222e3c06391b8badab93160b75a06a07ba04cb4695a8108d01464c6751b8a9f96bc6c2ed58237ed8126c38846875bf5e3b1ce1b116df229ad1021e8c1b9bda97c0b33efbaa442e1ed3e89848b9f241e18a1ab4972212c6e2e37
#
# (C) Tenable Network Security, Inc.
#

include('compat.inc');

if (description)
{
  script_id(135897);
  script_version("1.4");
  script_set_attribute(attribute:"plugin_modification_date", value:"2020/04/23");

  script_cve_id("CVE-2019-12711");
  script_xref(name:"CISCO-BUG-ID", value:"CSCvp46079");
  script_xref(name:"CISCO-SA", value:"cisco-sa-20191002-cucm-xxe");
  script_xref(name:"IAVA", value:"2019-A-0362");

  script_name(english:"Cisco Unified Communications Manager XML External Expansion Vulnerability (cisco-sa-20191002-cucm-xxe)");

  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, Cisco Unified Communications Manager is affected by an XML external entity
(XXE) vulnerability. This is due to an incorrectly configured XML parser accepting XML external entities from an untrusted
source. An unauthenticated, remote attacker can exploit this, via specially crafted XML data, to disclose sensitive
information, or casue the application to consume available resources which would result in Denial of Service.");
  # https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20191002-cucm-xxe
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?421420ec");
  # https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvp46079
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?389f5230");
  script_set_attribute(attribute:"solution", value:
"Upgrade to the relevant fixed version referenced in Cisco bug ID CSCvp46079");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:P");
  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:L/I:N/A:L");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2019-12711");

  script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
  script_cwe_id(611);

  script_set_attribute(attribute:"vuln_publication_date", value:"2019/10/02");
  script_set_attribute(attribute:"patch_publication_date", value:"2019/10/02");
  script_set_attribute(attribute:"plugin_publication_date", value:"2020/04/22");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:cisco:unified_communications_manager");
  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) 2020 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('cisco_workarounds.inc');
include('ccf.inc');

product_info = cisco::get_product_info(name:'Cisco Unified Communications Manager');

vuln_ranges = [
  {'min_ver' : '0.0', 'fix_ver' : '10.5.2.21900.13'},
  {'min_ver' : '11.5', 'fix_ver' : '12.0.1.23900.9'},
  {'min_ver' : '12.5', 'fix_ver' : '12.5.1.11900.146'}
];

reporting = make_array(
  'port'     , 0,
  'severity' , SECURITY_WARNING,
  'version'  , product_info['version'],
  'bug_id'   , 'CSCvp46079'
);

cisco::check_and_report(product_info:product_info, reporting:reporting, vuln_ranges:vuln_ranges);