CVE-2024-1248
JSON

4.8medium

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

Severity
4.8medium CVSS:3.1 by WSO2
Exploit likelihood
0.30% (higher than 15% of CVEs)
Published
Last changed
Assigned by
WSO2

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.

Affected

Product or packageVersionsReported by
WSO2 WSO2 API Managerbefore 3.0.0, from 3.0.0 before 3.0.0.153, from 3.1.0 before 3.1.0.267, from 3.2.0 before 3.2.0.351, from 4.0.0 before 4.0.0.269, from 4.1.0 before 4.1.0.169CVE List
WSO2 WSO2 Identity Serverbefore 5.8.0, from 5.8.0 before 5.8.0.101, from 5.9.0 before 5.9.0.138, from 5.10.0 before 5.10.0.284, from 5.11.0 before 5.11.0.321CVE List
WSO2 WSO2 Identity Server as Key Managerbefore 5.9.0, from 5.9.0 before 5.9.0.148, from 5.10.0 before 5.10.0.280CVE List
WSO2 WSO2 Open Banking AMbefore 2.0.0, from 2.0.0 before 2.0.0.313CVE List
WSO2 WSO2 Open Banking IAMbefore 2.0.0, from 2.0.0 before 2.0.0.333CVE List
wso2 api_managerfrom 3.0.0 before 3.0.0.153, from 3.1.0 before 3.1.0.267, from 3.2.0 before 3.2.0.351, from 4.0.0 before 4.0.0.269, from 4.1.0 before 4.1.0.169NVD
wso2 identity_serverfrom 5.8.0 before 5.8.0.101, from 5.9.0 before 5.9.0.138, from 5.10.0 before 5.10.0.284, from 5.11.0 before 5.11.0.321NVD
wso2 identity_server_as_key_managerfrom 5.9.0 before 5.9.0.148, from 5.10.0 before 5.10.0.280NVD
wso2 open_banking_amfrom 2.0.0 before 2.0.0.313NVD
wso2 open_banking_iamfrom 2.0.0 before 2.0.0.333NVD

All scores

WSO24.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Classification

CWE-298

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-1248 changed 2026-07-06CVE Terms of Use
NVDCVE-2024-1248 changed 2026-07-09Public domain