CVE-2025-15039
Vulnérabilité critique dans WSO2 Identity Server (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.
Gravité et risque d'exploitation
CVE-2025-15039 obtient un score CVSS de 9.4/10, soit une gravité critique. Selon le modèle EPSS, la probabilité qu'elle soit exploitée dans les 30 prochains jours est de 0.67 %, ce qui la place devant 51.0 % des CVE référencées.
Que faire ?
- Vérifiez si WSO2 Identity Server (versions <6.0.0.259, <4.2.0.184, 5.25.736, 7.8.586, 4.0.0, <5.17.118.24, 5.18.248, 5.12.387, 0, 4.3.0, 4.1.0, <5.10.0.385, 5.11.0, <5.25.713.12, <4.5.0.45, <7.8.586.21, <6.1.0.260, <4.5.0, 1.4.0, 7.2.0, <3.0.0.180, <2.0.0, <5.9.0.179, 5.25.713, <5.25.736.3, <=*, <3.2.1.79, 5.17.5, 5.25.92, <5.25.92.177, 6.1.0, <5.9.0.173, 3.0.0, <5.11.0.432, <4.6.0.8, 7.8.23, 5.12.153, 3.1.0, 7.0.78, 5.10.0, 1.5.0, 3.2.1, <4.5.0.43, 7.8.646, 4.4.0, <7.0.78.171, <5.12.387.48, <5.23.8.221, 5.14.97, <5.18.187.334, <5.17.5.337, <7.1.0.49, <3.2.0.460, 5.25.705, 5.24.8, <1.5.0.144, <5.18.248.34, <1.4.0.143, 3.2.0, <1.5.0.127, <5.7.0.130, <4.6.0.9, <4.0.0.381, 5.7.0, 2.6.0, <5.7.0, <4.5.0.44, <2.6.0.150, <1.4.0.137, <5.25.724.8, <4.1.0.244, 5.9.0, <5.8.0.113, <7.1.0.45, <2.6.0, <5.7.0.129, <4.3.0.95, 2.0.0, <5.12.153.66, 5.18.187, 7.1.0, 5.8.0, <1.4.0, 4.6.0, <5.25.705.23, 5.23.8, 5.25.724, 7.0.0, <3.1.0.356, 4.5.0, 5.17.118, 5.25.738, <5.14.97.94, <5.24.8.29, <2.0.0.405, <7.0.0.138, <7.2.0.7, <2.0.0.425, 4.2.0, 6.0.0, <7.8.23.95, <=5.25.*, <5.10.0.376, <4.4.0.59) est présent sur votre parc.
- Appliquez le correctif ou la version corrigée indiqués dans les références de l'éditeur.
- À défaut de correctif, limitez l'exposition (filtrage réseau, désactivation du composant).
- Automatisez la détection : les agents CVE Heimdall (gratuits, open source) corrèlent l'inventaire de vos serveurs avec la base CVE.
