Skip to main content
← All vulnerabilities
CVE-2024-1248

Role Overwriting via Silent JIT Provisioning in Multiple WSO2 Products Enables Privilege Escalation

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.0.0.153, 3.1.0.267, 3.2.0.351, 4.0.0.269, 4.1.0.169, and 8 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • WSO2 WSO2 API Manager

    From 3.0.0 · fixed in 3.0.0.153; From 3.1.0 · fixed in 3.1.0.267; From 3.2.0 · fixed in 3.2.0.351; From 4.0.0 · fixed in 4.0.0.269; From 4.1.0 · fixed in 4.1.0.169

  • WSO2 WSO2 Identity Server

    From 5.8.0 · fixed in 5.8.0.101; From 5.9.0 · fixed in 5.9.0.138; From 5.10.0 · fixed in 5.10.0.284; From 5.11.0 · fixed in 5.11.0.321

  • WSO2 WSO2 Identity Server as Key Manager

    From 5.9.0 · fixed in 5.9.0.148; From 5.10.0 · fixed in 5.10.0.280

  • WSO2 WSO2 Open Banking AM

    From 2.0.0 · fixed in 2.0.0.313

  • WSO2 WSO2 Open Banking IAM

    From 2.0.0 · fixed in 2.0.0.333

References 1

security.docs.wso2.com