What’s Vulnerable › Vulnerabilities
CVE-2024-1248: Role Overwriting via Silent JIT Provisioning in Multiple WSO2 Products Enables Privilege Escalation
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-04 · updated 2026-07-09
- Weakness: CWE-298
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.
Affected products
- WSO2 API Manager: from 3.0.0 before 3.0.0.153; from 3.1.0 before 3.1.0.267; from 3.2.0 before 3.2.0.351; from 4.0.0 before 4.0.0.269; from 4.1.0 before 4.1.0.169 — fixed in 3.0.0.153, 3.1.0.267, 3.2.0.351, 4.0.0.269, 4.1.0.169
- WSO2 Identity Server: from 5.8.0 before 5.8.0.101; from 5.9.0 before 5.9.0.138; from 5.10.0 before 5.10.0.284; from 5.11.0 before 5.11.0.321 — fixed in 5.10.0.284, 5.11.0.321, 5.8.0.101, 5.9.0.138
- WSO2 Identity Server As Key Manager: from 5.9.0 before 5.9.0.148; from 5.10.0 before 5.10.0.280 — fixed in 5.10.0.280, 5.9.0.148
- WSO2 Open Banking Am: from 2.0.0 before 2.0.0.313 — fixed in 2.0.0.313
- WSO2 Open Banking Iam: from 2.0.0 before 2.0.0.333 — fixed in 2.0.0.333
How to fix
Upgrade to a fixed version: WSO2 API Manager 3.0.0.153, 3.1.0.267, 3.2.0.351, 4.0.0.269; WSO2 Identity Server 5.10.0.284, 5.11.0.321, 5.8.0.101, 5.9.0.138; WSO2 Identity Server As Key Manager 5.10.0.280, 5.9.0.148; WSO2 Open Banking Am 2.0.0.313; WSO2 Open Banking Iam 2.0.0.333. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2024-1248 or the next vulnerability affects your stack