Skip to main content
← All vulnerabilities
CVE-2024-5139

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.6.0.204, 5.10.0.310, 6.0.0.212, 6.1.0.195, 7.0.0.64, and 20 more
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • WSO2 WSO2 Enterprise Integrator

    From 6.6.0 · fixed in 6.6.0.204

  • WSO2 WSO2 Identity Server

    From 5.10.0 · fixed in 5.10.0.310; From 6.0.0 · fixed in 6.0.0.212; From 6.1.0 · fixed in 6.1.0.195; From 7.0.0 · fixed in 7.0.0.64

  • WSO2 WSO2 API Manager

    From 3.1.0 · fixed in 3.1.0.286; From 3.2.0 · fixed in 3.2.0.376; From 3.2.1 · fixed in 3.2.1.10; From 4.0.0 · fixed in 4.0.0.299; From 4.1.0 · fixed in 4.1.0.159; From 4.2.0 · fixed in 4.2.0.91; From 4.3.0 · fixed in 4.3.0.6

  • WSO2 WSO2 Open Banking AM

    From 2.0.0 · fixed in 2.0.0.336

  • WSO2 WSO2 Identity Server as Key Manager

    From 5.10.0 · fixed in 5.10.0.306

  • WSO2 WSO2 Open Banking IAM

    From 2.0.0 · fixed in 2.0.0.357

  • org.wso2.carbon.user.mgt.ui

    From 5.14.127 · fixed in 5.14.127.6; From 5.17.5 · fixed in 5.17.5.273; From 5.17.118 · fixed in 5.17.118.3; From 5.18.187 · fixed in 5.18.187.260; From 5.18.248 · fixed in 5.18.248.12; From 5.23.8 · fixed in 5.23.8.191; From 5.24.8 · fixed in 5.24.8.3; From 5.25.92 · fixed in 5.25.92.99; From 5.25.705 · fixed in 5.25.705.3; From 7.0.78 · fixed in 7.0.78.43

References 3

security.docs.wso2.com

GitHub · wso2/carbon-identity-framework