CVE-2024-1248: CWE-298: Improper Handling of Identity During Provisioning in WSO2 WSO2 API Manager
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.
AI Analysis
Technical Summary
The vulnerability arises from improper handling of identity during the silent JIT provisioning process in WSO2 API Manager. Specifically, when a federated user and a local user share the same username, the provisioning process does not segregate roles properly and overwrites the local user's roles with those assigned to the federated user. This can lead to unauthorized modification of local user roles. Exploitation requires a federated identity provider with silent JIT provisioning enabled and attacker knowledge of a local username. The impact is limited to role modification with roles defined by the federated IDP, which typically grants minimal access unless explicitly configured otherwise.
Potential Impact
An attacker who controls or has access to a federated identity provider with silent JIT provisioning enabled and knows a local user's username can cause the local user's roles to be overwritten with roles from the federated IDP. This results in unauthorized modification of local user roles, potentially altering access permissions. The impact on confidentiality is none, but integrity and availability impacts are low due to role changes. The overwritten roles are limited to those defined by the federated IDP, which usually have minimal privileges unless configured otherwise.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, organizations should review their federated IDP configurations, especially the roles assigned during silent JIT provisioning, to minimize privilege escalation risks. Consider disabling silent JIT provisioning if feasible or implementing additional controls to segregate local and federated user roles. Monitor vendor advisories for updates or patches addressing this issue.
CVE-2024-1248: CWE-298: Improper Handling of Identity During Provisioning in WSO2 WSO2 API Manager
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.
CVSS v3.1
Score 4.8medium
Affected software
pkg:maven/org.wso2/carbon-apimgtRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises from improper handling of identity during the silent JIT provisioning process in WSO2 API Manager. Specifically, when a federated user and a local user share the same username, the provisioning process does not segregate roles properly and overwrites the local user's roles with those assigned to the federated user. This can lead to unauthorized modification of local user roles. Exploitation requires a federated identity provider with silent JIT provisioning enabled and attacker knowledge of a local username. The impact is limited to role modification with roles defined by the federated IDP, which typically grants minimal access unless explicitly configured otherwise.
Potential Impact
An attacker who controls or has access to a federated identity provider with silent JIT provisioning enabled and knows a local user's username can cause the local user's roles to be overwritten with roles from the federated IDP. This results in unauthorized modification of local user roles, potentially altering access permissions. The impact on confidentiality is none, but integrity and availability impacts are low due to role changes. The overwritten roles are limited to those defined by the federated IDP, which usually have minimal privileges unless configured otherwise.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, organizations should review their federated IDP configurations, especially the roles assigned during silent JIT provisioning, to minimize privilege escalation risks. Consider disabling silent JIT provisioning if feasible or implementing additional controls to segregate local and federated user roles. Monitor vendor advisories for updates or patches addressing this issue.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- WSO2
- Date Reserved
- 2024-02-06T04:46:46.449Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a49726a27e9c79719090aed
Added to database: 07/04/2026, 20:51:54 UTC
Last enriched: 07/12/2026, 08:57:26 UTC
Last updated: 08/18/2026, 10:54:17 UTC
Views: 123
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.