Vulnerabilities > CVE-2018-0248 - Improper Input Validation vulnerability in Cisco Wireless LAN Controller Software

047910
CVSS 6.8 - MEDIUM
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
SINGLE
Confidentiality impact
NONE
Integrity impact
NONE
Availability impact
COMPLETE
network
low complexity
cisco
CWE-20
nessus

Summary

A vulnerability in the administrative GUI configuration feature of Cisco Wireless LAN Controller (WLC) Software could allow an aUTHENTICated, remote attacker to cause the device to reload unexpectedly during device configuration when the administrator is using this GUI, causing a denial of service (DoS) condition on an affected device. The attacker would need to have valid administrator credentials on the device. This vulnerability is due to incomplete input validation for unexpected configuration options that the attacker could submit while accessing the GUI configuration menus. An attacker could exploit these vulnerabilities by authenticating to the device and submitting crafted user input when using the administrative GUI configuration feature. A successful exploit could allow the attacker to cause the device to reload, resulting in a DoS condition. Software versions prior to 8.3.150.0, 8.5.140.0, 8.8.111.0 are affected by this vulnerability.

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-20190417-WLC-GUI.NASL
descriptionAccording to its self-reported version, Cisco Wireless LAN Controller (WLC) is affected by following vulnerability - Multiple vulnerabilities in the administrative GUI configuration feature of Cisco Wireless LAN Controller (WLC) Software could allow an authenticated, remote attacker to cause the device to reload unexpectedly during device configuration when the administrator is using this GUI, causing a denial of service (DoS) condition on an affected device. The attacker would need to have valid administrator credentials on the device.These vulnerabilities are due to incomplete input validation for unexpected configuration options that the attacker could submit while accessing the GUI configuration menus. An attacker could exploit these vulnerabilities by authenticating to the device and submitting crafted user input when using the administrative GUI configuration feature. A successful exploit could allow the attacker to cause the device to reload, resulting in a DoS condition.These vulnerabilities have a Security Impact Rating (SIR) of High because they could be exploited when the software fix for the Cisco Wireless LAN Controller Cross-Site Request Forgery Vulnerability [https://tools.cisco.com/ security/center/content/CiscoSecurityAdvisory/cisco- sa-20190417-wlc-csrf] is not in place. In that case, an unauthenticated attacker who first exploits the cross- site request forgery vulnerability could perform arbitrary commands with the privileges of the administrator user by exploiting the vulnerabilities described in this advisory. (CVE-2018-0248) Please see the included Cisco BIDs and Cisco Security Advisory for more information
last seen2020-06-01
modified2020-06-02
plugin id124331
published2019-04-26
reporterThis script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.
sourcehttps://www.tenable.com/plugins/nessus/124331
titleCisco Wireless LAN Controller Software GUI Configuration Denial of Service Vulnerabilities
code
#TRUSTED 4c780d0b3845cccc9fa83e69d4623202a24a43676f08715d34e80685159a75f9f285a03fe02055d2f762e6b244018cecbaf63c26666f9c0b8b843dfe80c6eabb4214e2bb589247449e9cb2a6e63059e51b1dac675d339b05be8f3fe6ed5829e12e0a95c842bebd6e4229cf43dbdf2bfe1a0665915344ea6437422b123a02947863d6da7f088adf46498beeb137dec1fb941249b460a451af7eaeaec0d12dbc07922ae6f01036536ac26e1bf794e0a1eab17ae582354f822c966a105643b44151ff8be07546c2ffa66256eb88b18a758be726d7ffb593f9a25ab819b2838f4f0e8faecceb16038a6420fc99d5da7c086055d571459f00ca11ecd787fe576230a6ba8923188b1bf52efaa0a93b6582bd3cb6a34faf910abb2d9bdd3ba46b47364766592ff6290b6a17ed972e800f09d944ef8273493e658f47edf5b5631a46082e8d394b8badcf681c6cfb6952eef4cd2cd699b857bcc3eb470fdcbec018bec949a4d296e8e3da310cc55d2adc40369198f0b4ec444fa33332ae39f7522dbd9ed0d299ba421a2985c749df73dff9b5c516bd0a0c3f4b2d5fbf9990a58aa92718312340f5b0dc5c9f43f71bea75bf5bb75eb9b0cf43939ad5b590785025a86a87ded70294ab8c0a7e9b53c53609039526ffd78888a81778dd795bf24fdd050ce8f83afc2cc8b4d47986f761f8435841d3b00c28bfb825250c9cc6fdd520680e2815
#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
  script_id(124331);
  script_version("1.5");
  script_cvs_date("Date: 2019/12/20");

  script_cve_id("CVE-2018-0248");
  script_bugtraq_id(108009);
  script_xref(name:"CWE", value:"CWE-20");
  script_xref(name:"CISCO-BUG-ID", value:"CSCvb35683");
  script_xref(name:"CISCO-BUG-ID", value:"CSCvd64417");
  script_xref(name:"CISCO-BUG-ID", value:"CSCve58704");
  script_xref(name:"CISCO-BUG-ID", value:"CSCve68131");
  script_xref(name:"CISCO-BUG-ID", value:"CSCve82306");
  script_xref(name:"CISCO-BUG-ID", value:"CSCve88013");
  script_xref(name:"CISCO-BUG-ID", value:"CSCve90361");
  script_xref(name:"CISCO-BUG-ID", value:"CSCve90365");
  script_xref(name:"CISCO-BUG-ID", value:"CSCve91536");
  script_xref(name:"CISCO-BUG-ID", value:"CSCve91601");
  script_xref(name:"CISCO-BUG-ID", value:"CSCve92619");
  script_xref(name:"CISCO-BUG-ID", value:"CSCve93039");
  script_xref(name:"CISCO-BUG-ID", value:"CSCve93215");
  script_xref(name:"CISCO-BUG-ID", value:"CSCve93547");
  script_xref(name:"CISCO-BUG-ID", value:"CSCve94030");
  script_xref(name:"CISCO-BUG-ID", value:"CSCve94052");
  script_xref(name:"CISCO-BUG-ID", value:"CSCve94683");
  script_xref(name:"CISCO-BUG-ID", value:"CSCve94821");
  script_xref(name:"CISCO-BUG-ID", value:"CSCve94942");
  script_xref(name:"CISCO-BUG-ID", value:"CSCve95046");
  script_xref(name:"CISCO-BUG-ID", value:"CSCve95104");
  script_xref(name:"CISCO-BUG-ID", value:"CSCve95848");
  script_xref(name:"CISCO-BUG-ID", value:"CSCve95866");
  script_xref(name:"CISCO-BUG-ID", value:"CSCve95898");
  script_xref(name:"CISCO-BUG-ID", value:"CSCve95987");
  script_xref(name:"CISCO-BUG-ID", value:"CSCve96534");
  script_xref(name:"CISCO-BUG-ID", value:"CSCve96615");
  script_xref(name:"CISCO-BUG-ID", value:"CSCve96858");
  script_xref(name:"CISCO-BUG-ID", value:"CSCve96879");
  script_xref(name:"CISCO-BUG-ID", value:"CSCve97734");
  script_xref(name:"CISCO-BUG-ID", value:"CSCve97771");
  script_xref(name:"CISCO-BUG-ID", value:"CSCve98357");
  script_xref(name:"CISCO-BUG-ID", value:"CSCve98393");
  script_xref(name:"CISCO-BUG-ID", value:"CSCve98434");
  script_xref(name:"CISCO-BUG-ID", value:"CSCve99020");
  script_xref(name:"CISCO-BUG-ID", value:"CSCve99072");
  script_xref(name:"CISCO-BUG-ID", value:"CSCve99212");
  script_xref(name:"CISCO-BUG-ID", value:"CSCve99744");
  script_xref(name:"CISCO-BUG-ID", value:"CSCvf01690");
  script_xref(name:"CISCO-BUG-ID", value:"CSCvf02412");
  script_xref(name:"CISCO-BUG-ID", value:"CSCvf06525");
  script_xref(name:"CISCO-BUG-ID", value:"CSCvf08015");
  script_xref(name:"CISCO-BUG-ID", value:"CSCvf15789");
  script_xref(name:"CISCO-BUG-ID", value:"CSCvf16237");
  script_xref(name:"CISCO-BUG-ID", value:"CSCvf16322");
  script_xref(name:"CISCO-BUG-ID", value:"CSCvf16358");
  script_xref(name:"CISCO-BUG-ID", value:"CSCvf20684");
  script_xref(name:"CISCO-BUG-ID", value:"CSCvf27133");
  script_xref(name:"CISCO-BUG-ID", value:"CSCvf27342");
  script_xref(name:"CISCO-BUG-ID", value:"CSCvf42722");
  script_xref(name:"CISCO-BUG-ID", value:"CSCvf47085");
  script_xref(name:"CISCO-BUG-ID", value:"CSCvf47220");
  script_xref(name:"CISCO-BUG-ID", value:"CSCvf47430");
  script_xref(name:"CISCO-BUG-ID", value:"CSCvf47934");
  script_xref(name:"CISCO-BUG-ID", value:"CSCvf54469");
  script_xref(name:"CISCO-BUG-ID", value:"CSCvf57639");
  script_xref(name:"CISCO-BUG-ID", value:"CSCvf58849");
  script_xref(name:"CISCO-BUG-ID", value:"CSCvf59210");
  script_xref(name:"CISCO-BUG-ID", value:"CSCvf59796");
  script_xref(name:"CISCO-BUG-ID", value:"CSCvf59799");
  script_xref(name:"CISCO-SA", value:"cisco-sa-20190417-wlc-gui");
  script_xref(name:"IAVA", value:"2019-A-0132");

  script_name(english:"Cisco Wireless LAN Controller Software GUI Configuration Denial of Service Vulnerabilities");
  script_summary(english:"Checks the version of Cisco Wireless LAN Controller (WLC)");

  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 Wireless LAN Controller
(WLC) is affected by following vulnerability

  - Multiple vulnerabilities in the administrative GUI
    configuration feature of Cisco Wireless LAN Controller
    (WLC) Software could allow an authenticated, remote
    attacker to cause the device to reload unexpectedly
    during device configuration when the administrator is
    using this GUI, causing a denial of service (DoS)
    condition on an affected device. The attacker would need
    to have valid administrator credentials on the
    device.These vulnerabilities are due to incomplete input
    validation for unexpected configuration options that the
    attacker could submit while accessing the GUI
    configuration menus. An attacker could exploit these
    vulnerabilities by authenticating to the device and
    submitting crafted user input when using the
    administrative GUI configuration feature. A successful
    exploit could allow the attacker to cause the device to
    reload, resulting in a DoS condition.These
    vulnerabilities have a Security Impact Rating (SIR) of
    High because they could be exploited when the software
    fix for the Cisco Wireless LAN Controller Cross-Site
    Request Forgery Vulnerability [https://tools.cisco.com/
    security/center/content/CiscoSecurityAdvisory/cisco-
    sa-20190417-wlc-csrf] is not in place. In that case, an
    unauthenticated attacker who first exploits the cross-
    site request forgery vulnerability could perform
    arbitrary commands with the privileges of the
    administrator user by exploiting the vulnerabilities
    described in this advisory. (CVE-2018-0248)

Please see the included Cisco BIDs and Cisco Security Advisory for
more information");
  # https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20190417-wlc-gui
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?240d670d");
  script_set_attribute(attribute:"see_also", value:"https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvf16322");
  script_set_attribute(attribute:"solution", value:
"Upgrade to the relevant fixed version referenced in Cisco bug ID
CSCvf16322");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:S/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:H/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-2018-0248");
  script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");

  script_set_attribute(attribute:"vuln_publication_date", value:"2019/04/17");
  script_set_attribute(attribute:"patch_publication_date", value:"2019/04/17");
  script_set_attribute(attribute:"plugin_publication_date", value:"2019/04/26");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:cisco:wireless_lan_controller_(wlc)");
  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) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("cisco_wlc_version.nasl");
  script_require_keys("Host/Cisco/WLC/Version");

  exit(0);
}

include('audit.inc');
include('cisco_workarounds.inc');
include('ccf.inc');

product_info = cisco::get_product_info(name:'Cisco Wireless LAN Controller (WLC)');

vuln_ranges = [
  { 'min_ver' : '0.0', 'fix_ver' : '8.3.150.0' },
  { 'min_ver' : '8.4', 'fix_ver' : '8.5.140.0' },
  { 'min_ver' : '8.6', 'fix_ver' : '8.8.111.0' }
];

workarounds = make_list(CISCO_WORKAROUNDS['no_workaround']);
workaround_params = make_list();


reporting = make_array(
'port'     , 0,
'severity' , SECURITY_WARNING,
'version'  , product_info['version'],
'bug_id'   , 
  'CSCvb35683 and ' +
  'CSCvd64417 and ' +
  'CSCve58704 and ' +
  'CSCve68131 and ' +
  'CSCve82306 and ' +
  'CSCve88013 and ' +
  'CSCve90361 and ' +
  'CSCve90365 and ' +
  'CSCve91536 and ' +
  'CSCve91601 and ' +
  'CSCve92619 and ' +
  'CSCve93039 and ' +
  'CSCve93215 and ' +
  'CSCve93547 and ' +
  'CSCve94030 and ' +
  'CSCve94052 and ' +
  'CSCve94683 and ' +
  'CSCve94821 and ' +
  'CSCve94942 and ' +
  'CSCve95046 and ' +
  'CSCve95104 and ' +
  'CSCve95848 and ' +
  'CSCve95866 and ' +
  'CSCve95898 and ' +
  'CSCve95987 and ' +
  'CSCve96534 and ' +
  'CSCve96615 and ' +
  'CSCve96858 and ' +
  'CSCve96879 and ' +
  'CSCve97734 and ' +
  'CSCve97771 and ' +
  'CSCve98357 and ' +
  'CSCve98393 and ' +
  'CSCve98434 and ' +
  'CSCve99020 and ' +
  'CSCve99072 and ' +
  'CSCve99212 and ' +
  'CSCve99744 and ' +
  'CSCvf01690 and ' +
  'CSCvf02412 and ' +
  'CSCvf06525 and ' +
  'CSCvf08015 and ' +
  'CSCvf15789 and ' +
  'CSCvf16237 and ' +
  'CSCvf16322 and ' +
  'CSCvf16358 and ' +
  'CSCvf20684 and ' +
  'CSCvf27133 and ' +
  'CSCvf27342 and ' +
  'CSCvf42722 and ' +
  'CSCvf47085 and ' +
  'CSCvf47220 and ' +
  'CSCvf47430 and ' +
  'CSCvf47934 and ' +
  'CSCvf54469 and ' +
  'CSCvf57639 and ' +
  'CSCvf58849 and ' +
  'CSCvf59210 and ' +
  'CSCvf59796 and ' +
  'CSCvf59799'
);

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