CVE-2024-1248: Role Overwriting via Silent JIT Provisioning in Multiple WSO2 Products Enables Privilege Escalation
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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-1248?
CVE-2024-1248 has a medium severity rating of 4.8.
How do I fix CVE-2024-1248?
To fix CVE-2024-1248, ensure proper role segregation during user account creation in your WSO2 product configurations.
What type of vulnerability is CVE-2024-1248?
CVE-2024-1248 is a privilege escalation vulnerability caused by role overwriting through silent JIT provisioning.
Which products are affected by CVE-2024-1248?
CVE-2024-1248 impacts multiple WSO2 products that implement federated authentication.
What can happen if CVE-2024-1248 is exploited?
If exploited, CVE-2024-1248 may allow an attacker to overwrite existing roles of local users, leading to unauthorized access.