Security Advisory WSO2-2020-0700
Published: 04th April 2020
Severity: Medium
CVSS Score: 5.4 (CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N)
AFFECTED PRODUCTS
WSO2 API Manager : 3.0.0 or earlier
WSO2 API Microgateway : 2.2.0
WSO2 IS as Key Manager : 5.7.0 , 5.9.0
OVERVIEW
A potential Cross-Site Scripting (XSS) vulnerability has been identified in registry resource info UI.
DESCRIPTION
This vulnerability can be exploitable in registry resource info UI when a user add a comment with malicious script.
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
If you are using an affected product version, it is highly recommended to migrate to the latest released version to receive security fixes.
You may also apply the relevant fixes based on the changes from the public fix: https://github.com/wso2/carbon-registry/pull/346
Note: If you are a WSO2 customer with Support Subscription, please use WSO2 Update Manager (WUM) updates in order to apply the fix.
CREDITS
WSO2 thanks, Raki Ben Hamouda for responsibly reporting the identified issue and working with us as we addressed it.