CVE-2024-1248 Role Overwriting via Silent JIT Provisioning in Multiple WSO2 Products Enables Privilege Escalation

Medium 4.8 Published Updated

Attackers can overwrite local user roles via silent JIT provisioning in WSO2 products, enabling privilege escalation if specific federated authentication settings are enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-1248?

CVE-2024-1248 is a medium-severity vulnerability in Wso2 Api Manager, published on 4 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-298

Which versions are affected by CVE-2024-1248?

It affects 5 products.

Products include Wso2 Api Manager, Wso2 Identity Server, Wso2 Identity Server as Key Manager, Wso2 Open Banking Am, Wso2 Open Banking Iam.

How do I fix CVE-2024-1248?

No fix has been published for CVE-2024-1248 yet. Limit exposure of the affected software until one is available.

Is CVE-2024-1248 being exploited?

There is no known exploitation of CVE-2024-1248 in the wild and no public exploit code.

All Wso2 Api Manager vulnerabilities

Sources

Also known as GHSA-c9ww-fm69-95fg.

Is CVE-2024-1248 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free