Security Advisory WSO2-2020-0718

Published: August 17, 2020

Version: 2.0.0

Severity: Medium

CVSS Score: XSS: 6.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N), Session Hijacking: 8.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)


AFFECTED PRODUCTS

  • WSO2 API Manager : 3.2.0 , 3.1.0 , 3.0.0 , 2.6.0 , 2.5.0
  • WSO2 API Manager Analytics : 2.5.0
  • WSO2 IS as Key Manager : 5.10.0 , 5.9.0 , 5.7.0 , 5.6.0
  • WSO2 Identity Server : 5.10.0 , 5.9.0 , 5.7.0 , 5.6.0 , 5.4.1
  • WSO2 Identity Server Analytics : 5.6.0 , 5.4.1 , 5.4.0
  • WSO2 IoT Server : 3.1.0

OVERVIEW

Reflected Cross-Site Scripting (XSS) and Session Hijacking vulnerabilities in the SOAP service Try it tool.

DESCRIPTION

Reflected Cross-Site Scripting (XSS) vulnerability can be exploited by sending a request to the SOAP service Try it tool with a malicious JavaScript payload.

Carbon Management Console's session cookie of a legitimate user could get delivered to an attacker-controlled endpoint by tricking that user to submit a URL of SOAP service Try it tool with a malicious payload.

IMPACT

By leveraging the Reflected Cross-Site Scripting (XSS) vulnerability in the Try it tool, 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.

By leveraging the Session Hijacking vulnerability, it is possible to steal session cookies if the attacker-controlled environments are reachable from the Carbon Management Console nodes. Once the attacker receives the session cookies, they can use those to access the Carbon Management Console if they have network level access to it.

The risk from this Session Hijacking vulnerability would be reduced if the unwarranted inbound and outbound network access are blocked from Carbon Management Console nodes.

SOLUTION

If you are using an affected product version, it is highly recommended to migrate to the latest released version to receive security fixes.

Otherwise, community users may apply the relevant fixes to the product based on the public fix(s):

WSO2 Subscription holders may refer to the below table. You should update your product to the specified update level or a higher update level to apply the fix.

Product Name Product Version U2 Update Level
WSO2 API Manager 2.5.0 1
WSO2 API Manager 2.6.0 1
WSO2 API Manager 3.0.0 1
WSO2 API Manager 3.1.0 1
WSO2 API Manager 3.2.0 1
WSO2 API Manager Analytics 2.5.0 1
WSO2 Identity Server as Key Manager 5.6.0 1
WSO2 Identity Server as Key Manager 5.7.0 1
WSO2 Identity Server as Key Manager 5.9.0 1
WSO2 Identity Server as Key Manager 5.10.0 1
WSO2 Identity Server 5.4.1 1
WSO2 Identity Server 5.6.0 1
WSO2 Identity Server 5.7.0 1
WSO2 Identity Server 5.9.0 1
WSO2 Identity Server 5.10.0 1
WSO2 Identity Server Analytics 5.4.0 1
WSO2 Identity Server Analytics 5.4.1 1
WSO2 Identity Server Analytics 5.6.0 1
WSO2 IoT Server 3.1.0 1

Info

If you are a WSO2 customer with a support subscription, use WSO2 Updates in order to apply the fix.

CREDITS

WSO2 thanks, Krzysztof Przybylski for responsibly reporting the identified issue and working with us as we addressed it.

CHANGE LOG

  • 2020-09-24: API Manager 3.2.0 added to the affected product list.