CVE-2024-1248
Role Overwriting via Silent JIT Provisioning in Multiple WSO2 Products Enables Privilege Escalation
- State
- Published
- Severity
- 4.8 Medium
- Published
- Jul 4, 2026
- Updated
- Jul 6, 2026
- Reserved
- Feb 6, 2024
Description
The silent Just-In-Time (JIT) provisioning feature in federated authentication implementations fails to properly segregate user roles during account creation when a federated user shares a username with a local user. This allows the provisioning process to overwrite existing roles of local users with roles assigned to the federated user.
Exploitation requires a federated identity provider (IDP) with silent JIT provisioning enabled and an attacker's knowledge of a local user's username. When these conditions are met, a malicious individual can leverage the JIT provisioning process to modify the roles of local users. The overwritten roles are limited to those defined within the federated IDP, typically granting minimal access rights unless explicitly configured otherwise by the federated IDP administrator.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 4.8 Medium | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L | WSO2 |
Weaknesses
- CWE-298 Improper Handling of Identity During Provisioning
Affected Products
| Product | Versions |
|---|---|
WSO2 API ManagerWSO2 |
|
WSO2 Identity ServerWSO2 |
|
WSO2 Identity Server as Key ManagerWSO2 |
|
WSO2 Open Banking AMWSO2 |
|
WSO2 Open Banking IAMWSO2 |
|
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.