/
Security Advisory WSO2-2019-0635
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links' is unknown.

Security Advisory WSO2-2019-0635

Published: 07th October 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 IS as Key Manager

WSO2 Identity Server


OVERVIEW

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

DESCRIPTION

When a custom claim dialect with an XSS payload is configured in the identity provider basic claim configuration, that payload gets executed, if a user picks up the malicious dialect URI as the provisioning claim in advanced claim configuration of the same Identity Provider. The attacker also needs to have privileges to log in to the management console, add and update identity provider configurations.


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


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

Please download the relevant patch based on the product you use following the matrix below. The patch can also be downloaded from http://wso2.com/security-patch-releases/.


Code

Product

Version

Patch

AM

WSO2 API Manager

2.6.0

WSO2-CARBON-PATCH-4.4.0-5052

IS KMWSO2 IS as Key Manager5.7.0

WSO2-CARBON-PATCH-4.4.0-5052

ISWSO2 Identity Server5.8.0

WSO2-CARBON-PATCH-4.4.0-4994

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


NOTES

If you are using newer versions of affected 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 (Cyber Security Works Pvt Ltd) for responsibly reporting the identified issue and working with us as we addressed them.


Related content

com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.