What’s Vulnerable › Vulnerabilities

CVE-2024-5139: Cross-Site Scripting via Authentication Endpoint in Multiple WSO2 Products Enables UI Manipulation and Redirection

Description

The Authentication Endpoint accepts user-supplied input without sufficient encoding, allowing for the injection of malicious JavaScript payloads. This vulnerability can be triggered by submitting crafted input to the Authentication Endpoint. Successful exploitation allows an attacker to redirect the user's browser to a malicious website, modify the web page's user interface, or extract sensitive information from the browser. However, due to the `httpOnly` flag on session-related cookies, session hijacking is not possible.

Affected products

How to fix

Upgrade to a fixed version: WSO2 API Manager 3.1.0.286, 3.2.0.376, 3.2.1.10, 4.0.0.299; WSO2 Enterprise Integrator 6.6.0.204; WSO2 Identity Server 5.10.0.310, 6.0.0.212, 6.1.0.195, 7.0.0.64; WSO2 Identity Server As Key Manager 5.10.0.306; WSO2 Open Banking Am 2.0.0.336; WSO2 Open Banking Iam 2.0.0.357; WSO2 Carbon User Management UI 5.14.127.6, 5.17.5.273, 5.17.118.3, 5.18.187.260. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-5139 or the next vulnerability affects your stack