CVE-2025-15039
JSON

9.4critical

Account Takeover via Conditional Authentication Script Logic in Multiple WSO2 Products

Severity
9.4critical CVSS:3.1 by WSO2
Exploit likelihood
0.67% (higher than 47% of CVEs)
Published
Last changed
Assigned by
WSO2

Description

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.

Affected

Product or packageVersionsReported by
WSO2 WSO2 Identity Serverbefore 5.7.0, from 5.7.0 before 5.7.0.130, from 5.8.0 before 5.8.0.113, from 5.9.0 before 5.9.0.173, from 5.10.0 before 5.10.0.385, from 5.11.0 before 5.11.0.432, from 6.0.0 before 6.0.0.259, from 6.1.0 before 6.1.0.260 and 4 moreCVE List
WSO2 WSO2 API Managerbefore 2.6.0, from 2.6.0 before 2.6.0.150, from 3.0.0 before 3.0.0.180, from 3.1.0 before 3.1.0.356, from 3.2.0 before 3.2.0.460, from 3.2.1 before 3.2.1.79, from 4.0.0 before 4.0.0.381, from 4.1.0 before 4.1.0.244 and 5 moreCVE List
WSO2 WSO2 Open Banking AMbefore 1.4.0, from 1.4.0 before 1.4.0.143, from 1.5.0 before 1.5.0.144, from 2.0.0 before 2.0.0.405CVE List
WSO2 WSO2 Open Banking IAMbefore 2.0.0, from 2.0.0 before 2.0.0.425CVE List
WSO2 WSO2 Traffic Managerbefore 4.5.0, from 4.5.0 before 4.5.0.43, from 4.6.0 before 4.6.0.8CVE List
WSO2 WSO2 Universal Gatewayfrom 4.5.0 before 4.5.0.43, from 4.5.0 before 4.5.0.44, from 4.6.0 before 4.6.0.8CVE List
WSO2 WSO2 API Control Planefrom 4.5.0 before 4.5.0.45, from 4.6.0 before 4.6.0.9CVE List
WSO2 WSO2 Identity Server as Key Managerbefore 5.7.0, from 5.7.0 before 5.7.0.129, from 5.9.0 before 5.9.0.179, from 5.10.0 before 5.10.0.376CVE List
WSO2 WSO2 Open Banking KMbefore 1.4.0, from 1.4.0 before 1.4.0.137, from 1.5.0 before 1.5.0.127CVE List
org.wso2.carbon.identity.framework:org.wso2.carbon.identity.application.authentication.frameworkfrom 5.12.153 before 5.12.153.66, from 5.12.387 before 5.12.387.48, from 5.14.97 before 5.14.97.94, from 5.17.5 before 5.17.5.337, from 5.17.118 before 5.17.118.24, from 5.18.187 before 5.18.187.334, from 5.18.248 before 5.18.248.34, from 5.23.8 before 5.23.8.221 and 9 more
Not affected: from 5.25.738 up to 5.25.*, from 7.8.646 up to *
CVE List
wso2 api_control_planefrom 4.5.0 before 4.5.0.45, from 4.6.0 before 4.6.0.9NVD
wso2 api_managerfrom 2.6.0 before 2.6.0.150, from 3.0.0 before 3.0.0.180, from 3.1.0 before 3.1.0.356, from 3.2.0 before 3.2.0.460, from 3.2.1 before 3.2.1.79, from 4.0.0 before 4.0.0.381, from 4.1.0 before 4.1.0.244, from 4.2.0 before 4.2.0.184 and 4 moreNVD

Classification

CWE-693

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

El script de autenticación condicional (autenticación adaptativa) no aplica correctamente la finalización de todos los pasos de autenticación requeridos cuando se configura un patrón específico de múltiples pasos que involucra ciertos autenticadores. Esto permite a un atacante eludir los desafíos de autenticación intermedios explotando cómo el script maneja las devoluciones de llamada y la reejecución de los pasos de autenticación. La explotación exitosa permite a un actor malicioso obtener acceso no autorizado a una cuenta de usuario objetivo. Esta vulnerabilidad solo puede ser explotada cuando se cumplen todas las siguientes condiciones: el flujo de inicio de sesión de la aplicación contiene un autenticador secundario específico, el script de autenticación condicional está configurado con devoluciones de llamada de eventos particulares y reejecuta un paso de autenticación, el usuario objetivo tiene uno de los autenticadores afectados registrados, y el atacante completa con éxito cualquier paso de autenticación precedente.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-15039 changed 2026-08-06CVE Terms of Use
NVDCVE-2025-15039 changed 2026-09-29Public domain