CVE-2024-1248

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

State
Published
Severity
4.8 Medium
Published
Jul 4, 2026
Updated
Jul 6, 2026
Reserved
Feb 6, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.14.8 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:LWSO2

Weaknesses

  • CWE-298 Improper Handling of Identity During Provisioning

Affected Products

ProductVersions
WSO2 API ManagerWSO2
  • before 3.0.0Unknown
  • 3.0.0 to before 3.0.0.153Affected
  • 3.1.0 to before 3.1.0.267Affected
  • 3.2.0 to before 3.2.0.351Affected
  • 4.0.0 to before 4.0.0.269Affected
  • 4.1.0 to before 4.1.0.169Affected
WSO2 Identity ServerWSO2
  • before 5.8.0Unknown
  • 5.8.0 to before 5.8.0.101Affected
  • 5.9.0 to before 5.9.0.138Affected
  • 5.10.0 to before 5.10.0.284Affected
  • 5.11.0 to before 5.11.0.321Affected
WSO2 Identity Server as Key ManagerWSO2
  • before 5.9.0Unknown
  • 5.9.0 to before 5.9.0.148Affected
  • 5.10.0 to before 5.10.0.280Affected
WSO2 Open Banking AMWSO2
  • before 2.0.0Unknown
  • 2.0.0 to before 2.0.0.313Affected
WSO2 Open Banking IAMWSO2
  • before 2.0.0Unknown
  • 2.0.0 to before 2.0.0.333Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.