CVE-2023-6837

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

State
Published
Severity
8.5 High
Published
Dec 15, 2023
Updated
Sep 25, 2025
Reserved
Dec 15, 2023

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.18.5 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:NWSO2

Weaknesses

Affected Products

ProductVersions
WSO2 API ManagerWSO2
  • before 2.5.0Unknown
  • 2.5.0 to before 2.5.0.32Affected
  • 2.6.0 to before 2.6.0.52Affected
  • 3.0.0 to before 3.0.0.50Affected
  • 3.1.0 to before 3.1.0.72Affected
  • 3.2.0 to before 3.2.0.86Affected
  • 4.0.0 to before 4.0.0.35Affected
WSO2 Identity ServerWSO2
  • before 5.6.0Unknown
  • 5.6.0 to before 5.6.0.16Affected
  • 5.7.0 to before 5.7.0.35Affected
  • 5.8.0 to before 5.8.0.26Affected
  • 5.9.0 to before 5.9.0.38Affected
  • 5.10.0 to before 5.10.0.78Affected
  • 5.11.0 to before 5.11.0.69Affected
WSO2 Identity Server as Key ManagerWSO2
  • before 5.6.0Unknown
  • 5.6.0 to before 5.6.0.17Affected
  • 5.7.0 to before 5.7.0.39Affected
  • 5.9.0 to before 5.9.0.45Affected
  • 5.10.0 to before 5.10.0.80Affected
WSO2 Carbon Identity Application Authentication FrameworkWSO2
  • 5.11.256 to before 5.11.256.3Affected
  • 5.12.153 to before 5.12.153.21Affected
  • 5.12.387 to before 5.12.387.7Affected
  • 5.14.97 to before 5.14.97.22Affected
  • 5.17.5 to before 5.17.5.106Affected
  • 5.18.187 to before 5.18.187.76Affected
  • 5.20.254 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.