CVE-2023-6837

published 15 Dec 2023 · updated 25 Sep 2025

Incorrect Authorization in Multiple WSO2 Products via Federated Authentication with JIT Provisioning Leading to User Impersonation

8.5HighCVSS 8.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in API Manager 2.5.0.32, API Manager 2.6.0.52, API Manager 3.0.0.50 and 19 more.

Multiple WSO2 products have been identified as vulnerable to perform user impersonatoin using JIT provisioning. In order for this vulnerability to have any impact on your deployment, following conditions must be met: * An IDP configured for federated authentication and JIT provisioning enabled with the "Prompt for username, password and consent" option. * A service provider that uses the above IDP for federated authentication and has the "Assert identity using mapped local subject identifier" flag enabled. Attacker should have: * A fresh valid user account in the federated IDP that has not been used earlier. * Knowledge of the username of a valid user in the local IDP. When all preconditions are met, a malicious actor could use JIT provisioning flow to perform user impersonation.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
WSO2API Manager>=2.5.0 <2.5.0.32, >=2.6.0 <2.6.0.52, >=3.0.0 <3.0.0.50, >=3.1.0 <3.1.0.72, >=3.2.0 <3.2.0.86, >=4.0.0 <4.0.0.352.5.0.32, 2.6.0.52, 3.0.0.50, 3.1.0.72, 3.2.0.86, 4.0.0.35
WSO2Carbon Identity Application Authentication Framework>=5.11.256 <5.11.256.3, >=5.12.153 <5.12.153.21, >=5.12.387 <5.12.387.7, >=5.14.97 <5.14.97.22, >=5.17.5 <5.17.5.106, >=5.18.187 <5.18.187.765.11.256.3, 5.12.153.21, 5.12.387.7, 5.14.97.22, 5.17.5.106, 5.18.187.76
WSO2Identity Server>=5.10.0 <5.10.0.80, >=5.6.0 <5.6.0.17, >=5.7.0 <5.7.0.39, >=5.9.0 <5.9.0.45, >=5.10.0 <5.10.0.78, >=5.11.0 <5.11.0.69, >=5.6.0 <5.6.0.16, >=5.7.0 <5.7.0.35, >=5.8.0 <5.8.0.26, >=5.9.0 <5.9.0.385.10.0.80, 5.6.0.17, 5.7.0.39, 5.9.0.45, 5.10.0.78, 5.11.0.69, 5.6.0.16, 5.7.0.35, 5.8.0.26, 5.9.0.38

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in WSO2, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-6837 severity on Zeptric[![CVE-2023-6837](https://zeptric.io/badge/cve/CVE-2023-6837.svg)](https://zeptric.io/cve/CVE-2023-6837)