Skip to main content
← All vulnerabilities
CVE-2025-15039

Account Takeover via Conditional Authentication Script Logic in Multiple WSO2 Products

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.7.0.130, 5.8.0.113, 5.9.0.173, 5.10.0.385, 5.11.0.432, and 47 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

The Conditional Authentication (Adaptive Authentication) script does not correctly enforce the completion of all required authentication steps when a specific multi-step pattern involving certain authenticators is configured. This allows an attacker to bypass intermediate authentication challenges by exploiting how the script handles callbacks and re-execution of authentication steps. Successful exploitation allows a malicious actor to gain unauthorized access to a targeted user account. This vulnerability can only be exploited when all of the following conditions are met: the application login flow contains a specific secondary authenticator, the Conditional Authentication script is configured with particular event callbacks and re-executes an authentication step, the targeted user has one of the impacted authenticators enrolled, and the attacker successfully completes any preceding authentication steps.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • WSO2 WSO2 Identity Server

    From 5.7.0 · fixed in 5.7.0.130; From 5.8.0 · fixed in 5.8.0.113; From 5.9.0 · fixed in 5.9.0.173; From 5.10.0 · fixed in 5.10.0.385; From 5.11.0 · fixed in 5.11.0.432; From 6.0.0 · fixed in 6.0.0.259; From 6.1.0 · fixed in 6.1.0.260; From 7.0.0 · fixed in 7.0.0.138; From 7.1.0 · fixed in 7.1.0.45; From 7.1.0 · fixed in 7.1.0.49; From 7.2.0 · fixed in 7.2.0.7

  • WSO2 WSO2 API Manager

    From 2.6.0 · fixed in 2.6.0.150; From 3.0.0 · fixed in 3.0.0.180; From 3.1.0 · fixed in 3.1.0.356; From 3.2.0 · fixed in 3.2.0.460; From 3.2.1 · fixed in 3.2.1.79; From 4.0.0 · fixed in 4.0.0.381; From 4.1.0 · fixed in 4.1.0.244; From 4.2.0 · fixed in 4.2.0.184; From 4.3.0 · fixed in 4.3.0.95; From 4.4.0 · fixed in 4.4.0.59; From 4.5.0 · fixed in 4.5.0.44; From 4.6.0 · fixed in 4.6.0.8

  • WSO2 WSO2 Open Banking AM

    From 1.4.0 · fixed in 1.4.0.143; From 1.5.0 · fixed in 1.5.0.144; From 2.0.0 · fixed in 2.0.0.405

  • WSO2 WSO2 Open Banking IAM

    From 2.0.0 · fixed in 2.0.0.425

  • WSO2 WSO2 Traffic Manager

    From 4.5.0 · fixed in 4.5.0.43; From 4.6.0 · fixed in 4.6.0.8

  • WSO2 WSO2 Universal Gateway

    From 4.5.0 · fixed in 4.5.0.43; From 4.5.0 · fixed in 4.5.0.44; From 4.6.0 · fixed in 4.6.0.8

  • WSO2 WSO2 API Control Plane

    From 4.5.0 · fixed in 4.5.0.45; From 4.6.0 · fixed in 4.6.0.9

  • WSO2 WSO2 Identity Server as Key Manager

    From 5.7.0 · fixed in 5.7.0.129; From 5.9.0 · fixed in 5.9.0.179; From 5.10.0 · fixed in 5.10.0.376

  • WSO2 WSO2 Open Banking KM

    From 1.4.0 · fixed in 1.4.0.137; From 1.5.0 · fixed in 1.5.0.127

  • org.wso2.carbon.identity.framework:org.wso2.carbon.identity.application.authentication.framework

    From 5.12.153 · fixed in 5.12.153.66; From 5.12.387 · fixed in 5.12.387.48; From 5.14.97 · fixed in 5.14.97.94; From 5.17.5 · fixed in 5.17.5.337; From 5.17.118 · fixed in 5.17.118.24; From 5.18.187 · fixed in 5.18.187.334; From 5.18.248 · fixed in 5.18.248.34; From 5.23.8 · fixed in 5.23.8.221; From 5.24.8 · fixed in 5.24.8.29; From 5.25.92 · fixed in 5.25.92.177; From 5.25.705 · fixed in 5.25.705.23; From 5.25.713 · fixed in 5.25.713.12; From 5.25.724 · fixed in 5.25.724.8; From 5.25.736 · fixed in 5.25.736.3; From 7.0.78 · fixed in 7.0.78.171; From 7.8.23 · fixed in 7.8.23.95; From 7.8.586 · fixed in 7.8.586.21

References 1

security.docs.wso2.com