MEDIUM 4.8

CVE-2024-1248: Federated JIT Provisioning Role Overwrite in WSO2 Identity Products

A vulnerability in federated authentication systems allows an attacker to hijack and reassign user roles when a federated identity provider has silent just-in-time account provisioning enabled. If a federated user shares a username with an existing local account, the provisioning process can overwrite the local user's roles with whatever the federated system assigns. An attacker needs to know a legitimate local username and have access to a federated identity provider configured with silent JIT provisioning to execute this attack. The impact is limited to role changes (typically to minimal access levels) rather than full account takeover.

Source data · NVD / CISA · public domain

CVSS
3.1 · 4.8 MEDIUM · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
Weaknesses (CWE)
CWE-298
Affected products
5 configuration(s)
Published / Modified
2026-07-04 / 2026-07-09

NVD description (verbatim)

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.

1 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

This vulnerability stems from improper role segregation in JIT provisioning workflows during federated authentication. When silent JIT provisioning encounters a federated user whose username matches an existing local account, the system fails to isolate the federated user's role assignments from the local account's security context. The result is an unintended write operation that overwrites local user roles with federated IDP-assigned roles. Exploitation requires three conditions: (1) federated authentication with silent JIT enabled, (2) knowledge of an existing local username, and (3) access to an attacker-controlled federated IDP or compromise of a trusted IDP. The CVSS 3.1 score of 4.8 (MEDIUM, network-accessible, high attack complexity) reflects the integrity and availability impact from role manipulation, constrained by the attack prerequisites.

Business impact

This vulnerability primarily threatens organizations using federated identity solutions with silent JIT provisioning. The main business risk is privilege escalation for targeted local accounts—an attacker can downgrade a user's role access, potentially disrupting legitimate business operations or compliance enforcement. While the federated IDP typically assigns minimal roles by default, if an organization has configured the federated IDP to assign elevated roles, the risk escalates significantly. Downstream effects include unauthorized access denial, operational disruption for key users, and potential audit/compliance violations if role-based access controls are used for regulatory reporting. The need to re-provision and validate affected user roles creates incident response overhead.

Affected systems

CVE-2024-1248 affects the following WSO2 products: API Manager, Identity Server, Identity Server as Key Manager, Open Banking AM, and Open Banking IAM. Any deployment of these products using federated authentication with silent JIT provisioning enabled is potentially vulnerable. Organizations using these platforms should audit whether federated SSO is active and whether JIT user provisioning is enabled for any upstream identity providers. Non-federated deployments or those with JIT provisioning explicitly disabled are not affected.

Exploitability

Exploitation has moderate barriers. An attacker must (1) discover or know a valid local username within the target organization, (2) have or control access to a federated identity provider configured to trust the victim organization, and (3) perform account creation via federated authentication using that username. The high attack complexity (AC:H in CVSS) reflects these prerequisites. Once conditions align, the attack itself is straightforward—the provisioning mechanism does the privilege escalation automatically. No special techniques, zero-days, or advanced exploitation are required; the vulnerability is a logic flaw in normal provisioning flow. This has not been added to CISA's Known Exploited Vulnerabilities catalog.

Remediation

Remediation involves two primary paths: (1) upgrade affected WSO2 products to patched versions that properly segregate federated and local user roles during JIT provisioning, and (2) immediately disable silent JIT provisioning if upgrades are not feasible. Organizations should also audit their federated IDP configurations to ensure only necessary roles are assigned during provisioning. Consider implementing additional controls such as role change alerts, restricting JIT provisioning to new accounts only (not existing local accounts), and requiring administrative approval for cross-authentication provisioning workflows.

Patch guidance

Contact WSO2 directly or consult the vendor's security advisory for specific patch version numbers and availability timelines for each affected product. Patches should be validated in a test environment before production deployment, as identity and access management changes carry operational risk. Given the complexity of federated auth configurations, schedule maintenance windows and notify users of any potential session disruption. After patching, re-verify that role assignments for all affected users are correct, as the patch may not automatically restore pre-exploitation role states.

Detection guidance

Monitor authentication and provisioning logs for patterns indicating role overwrites during federated user creation. Specifically, look for: (1) federated user creation events where a username matches an existing local account, (2) unexplained role changes tied to JIT provisioning events, and (3) audit trail gaps in identity management systems. Implement alerting on role modification events, particularly downgrades or changes initiated by non-administrative accounts. Review user access reports comparing expected roles (from your authorization matrix) to actual assigned roles, flagging discrepancies. Correlate failed and successful authentication events from federated IDPs with role change timestamps.

Why prioritize this

This vulnerability warrants prompt but not emergency action. The MEDIUM severity and high attack complexity mean it is not a critical system threat, but the targeted nature of the attack (can degrade specific user privileges) and the prevalence of federated auth in modern organizations warrant prioritization within normal patch cycles. Organizations heavily reliant on federated identity platforms should prioritize higher. Those with strict role-based access controls tied to compliance (healthcare, finance) should also elevate priority. It does not currently appear in active exploit campaigns (KEV status: false).

Risk score, explained

The CVSS 3.1 score of 4.8 reflects a network-accessible attack (AV:N) with high complexity (AC:H), no privileges required (PR:N), no user interaction (UI:N), and unchanged scope (S:U). Impact is limited to integrity loss (role overwrite) and availability loss (access disruption), with no confidentiality compromise. The score is moderate because while the attack is network-reachable, it requires knowledge of valid usernames and either control of or access to a federated IDP—realistic but not trivial. The severity is constrained further by the fact that federated IDPs typically assign minimal roles, limiting damage unless explicitly misconfigured.

Frequently asked questions

Do we need to patch if we don't use federated authentication?

No. This vulnerability is specific to deployments using federated identity providers with silent JIT provisioning. If you use only local authentication or have JIT provisioning disabled, your WSO2 instances are not affected. Verify your configuration to be certain.

What if our federated IDP is configured to assign elevated roles?

Your risk increases significantly. If your upstream IDP is configured to grant administrative or sensitive roles during provisioning, an attacker could escalate privileges beyond the typical minimal access. This scenario requires immediate patching or disabling JIT provisioning.

How do we detect if this vulnerability has been exploited in our environment?

Search your authentication and identity management logs for federated user creation events that match existing local usernames, coupled with role change events. Cross-reference user access reports to identify roles that differ from your authorization baseline. Enable detailed audit logging on your identity system if not already active.

Is disabling silent JIT provisioning a permanent solution?

It is a safe interim mitigation until patches are applied, but not a permanent solution if you require federated provisioning for business operations. Disabling JIT shifts user onboarding to manual processes, which reduces security risk but increases administrative burden. Plan for patching as your long-term strategy.

This analysis is based on vendor-supplied vulnerability data current as of the publication date. Patch version numbers, availability, and remediation timelines should be verified directly with WSO2 security advisories. Security organizations should validate all detection and mitigation strategies in their own environments before production deployment. CVSS scores reflect base vulnerability characteristics and may not account for organizational risk factors, compensating controls, or threat landscape changes. This content is provided for informational purposes and does not constitute professional security advice. Source: NVD (public-domain), retrieved 2026-08-13. Analysis generated by SEC.co (claude-haiku-4-5).