Security Advisory WSO2-2019-0634

Published: October 07, 2019

Severity: Medium

CVSS Score: 6.1 (CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)


AFFECTED PRODUCTS

  • WSO2 API Manager
  • WSO2 API Manager Analytics
  • WSO2 IS as Key Manager
  • WSO2 Identity Server
  • WSO2 Identity Server Analytics

OVERVIEW

A possible Cross-Site Scripting (XSS) vulnerability has been detected in the management console.

DESCRIPTION

If there is a claim dialect configured with an XSS payload in the dialect URI, if a user picks up the malicious dialect URI and adds it as the service provider claim dialect while configuring the service provider, that payload gets executed. The attacker also needs to have privileges to log in to the management console, add and configure claim dialects.

IMPACT

By leveraging an XSS attack, an attacker can make the browser get redirected to a malicious website, make changes in the UI of the web page, retrieve information from the browser or harm otherwise. However, since all the session related sensitive cookies are set with httpOnly flag and protected, session hijacking or similar attacks would not be possible.

SOLUTION

For latest versions of affected products

Apply the following patches based on your product version by following the instructions in the README file. If you have any questions, post them to security@wso2.com.

Download the relevant patches based on the products you use following the matrix below. Patches can also be downloaded from Security Patch Releases.

Code Product Version Patch
AM WSO2 API Manager 2.6.0 WSO2-CARBON-PATCH-4.4.0-5118
IS KM WSO2 IS as Key Manager 5.7.0 WSO2-CARBON-PATCH-4.4.0-5118
IS WSO2 Identity Server 5.8.0 WSO2-CARBON-PATCH-4.4.0-5116

For other products

Upgrade the products to the latest released version, which is not affected by this vulnerability.

Info

If you are a WSO2 customer with a support subscription, use WSO2 Update Manager (WUM) updates in order to apply the fix. This patch is intended for WSO2 community (free) users.

If you are using newer versions of the products than the ones mentioned in the SOLUTION section, this vulnerability is fixed.

It is highly recommended to migrate older versions of the WSO2 products to the latest released version to receive security fixes.

CREDITS

WSO2 thanks, Sathish Kumar Balakrishnan Balakrishnan (Cyber Security Works Pvt Ltd) for responsibly reporting the identified issue and working with us as we addressed them.