CVE-2024-1248
Role Overwriting via Silent JIT Provisioning in Multiple WSO2 Products Enables Privilege Escalation
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.
INFO
Published Date :
July 4, 2026, 9:17 p.m.
Last Modified :
July 9, 2026, 6:47 p.m.
Remotely Exploit :
Yes !
Source :
ed10eef1-636d-4fbe-9993-6890dfa878f8
Affected Products
The following products are affected by CVE-2024-1248
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | MEDIUM | ed10eef1-636d-4fbe-9993-6890dfa878f8 | ||||
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Disable silent JIT provisioning if not essential.
- Configure IDP to enforce unique usernames.
- Review and restrict federated IDP role assignments.
- Audit local user roles after federation events.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-1248.
| URL | Resource |
|---|---|
| https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2024-3179/ | Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-1248 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-1248
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-1248 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-1248 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jul. 09, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N Added CPE Configuration OR *cpe:2.3:a:wso2:api_manager:*:*:*:*:*:*:*:* versions from (including) 3.0.0 up to (excluding) 3.0.0.153 *cpe:2.3:a:wso2:api_manager:*:*:*:*:*:*:*:* versions from (including) 3.1.0 up to (excluding) 3.1.0.267 *cpe:2.3:a:wso2:api_manager:*:*:*:*:*:*:*:* versions from (including) 3.2.0 up to (excluding) 3.2.0.351 *cpe:2.3:a:wso2:api_manager:*:*:*:*:*:*:*:* versions from (including) 4.0.0 up to (excluding) 4.0.0.269 *cpe:2.3:a:wso2:api_manager:*:*:*:*:*:*:*:* versions from (including) 4.1.0 up to (excluding) 4.1.0.169 Added CPE Configuration OR *cpe:2.3:a:wso2:identity_server:*:*:*:*:*:*:*:* versions from (including) 5.10.0 up to (excluding) 5.10.0.284 *cpe:2.3:a:wso2:identity_server:*:*:*:*:*:*:*:* versions from (including) 5.11.0 up to (excluding) 5.11.0.321 *cpe:2.3:a:wso2:identity_server:*:*:*:*:*:*:*:* versions from (including) 5.8.0 up to (excluding) 5.8.0.101 *cpe:2.3:a:wso2:identity_server:*:*:*:*:*:*:*:* versions from (including) 5.9.0 up to (excluding) 5.9.0.138 Added CPE Configuration OR *cpe:2.3:a:wso2:identity_server_as_key_manager:*:*:*:*:*:*:*:* versions from (including) 5.10.0 up to (excluding) 5.10.0.280 *cpe:2.3:a:wso2:identity_server_as_key_manager:*:*:*:*:*:*:*:* versions from (including) 5.9.0 up to (excluding) 5.9.0.148 Added CPE Configuration OR *cpe:2.3:a:wso2:open_banking_am:*:*:*:*:*:*:*:* versions from (including) 2.0.0 up to (excluding) 2.0.0.313 *cpe:2.3:a:wso2:open_banking_iam:*:*:*:*:*:*:*:* versions from (including) 2.0.0 up to (excluding) 2.0.0.333 Added Reference Type WSO2 LLC: https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2024-3179/ Types: Vendor Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jul. 06, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2024-1248', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-07-06T13:50:04.702382Z'} -
New CVE Received by ed10eef1-636d-4fbe-9993-6890dfa878f8
Jul. 04, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'WSO2', 'product': 'WSO2 API Manager', 'versions': [{'status': 'unknown', 'version': '0', 'lessThan': '3.0.0', 'versionType': 'custom'}, {'status': 'affected', 'version': '3.0.0', 'lessThan': '3.0.0.153', 'versionType': 'custom'}, {'status': 'affected', 'version': '3.1.0', 'lessThan': '3.1.0.267', 'versionType': 'custom'}, {'status': 'affected', 'version': '3.2.0', 'lessThan': '3.2.0.351', 'versionType': 'custom'}, {'status': 'affected', 'version': '4.0.0', 'lessThan': '4.0.0.269', 'versionType': 'custom'}, {'status': 'affected', 'version': '4.1.0', 'lessThan': '4.1.0.169', 'versionType': 'custom'}], 'defaultStatus': 'unaffected'}, {'vendor': 'WSO2', 'product': 'WSO2 Identity Server', 'versions': [{'status': 'unknown', 'version': '0', 'lessThan': '5.8.0', 'versionType': 'custom'}, {'status': 'affected', 'version': '5.8.0', 'lessThan': '5.8.0.101', 'versionType': 'custom'}, {'status': 'affected', 'version': '5.9.0', 'lessThan': '5.9.0.138', 'versionType': 'custom'}, {'status': 'affected', 'version': '5.10.0', 'lessThan': '5.10.0.284', 'versionType': 'custom'}, {'status': 'affected', 'version': '5.11.0', 'lessThan': '5.11.0.321', 'versionType': 'custom'}], 'defaultStatus': 'unaffected'}, {'vendor': 'WSO2', 'product': 'WSO2 Identity Server as Key Manager', 'versions': [{'status': 'unknown', 'version': '0', 'lessThan': '5.9.0', 'versionType': 'custom'}, {'status': 'affected', 'version': '5.9.0', 'lessThan': '5.9.0.148', 'versionType': 'custom'}, {'status': 'affected', 'version': '5.10.0', 'lessThan': '5.10.0.280', 'versionType': 'custom'}], 'defaultStatus': 'unaffected'}, {'vendor': 'WSO2', 'product': 'WSO2 Open Banking AM', 'versions': [{'status': 'unknown', 'version': '0', 'lessThan': '2.0.0', 'versionType': 'custom'}, {'status': 'affected', 'version': '2.0.0', 'lessThan': '2.0.0.313', 'versionType': 'custom'}], 'defaultStatus': 'unaffected'}, {'vendor': 'WSO2', 'product': 'WSO2 Open Banking IAM', 'versions': [{'status': 'unknown', 'version': '0', 'lessThan': '2.0.0', 'versionType': 'custom'}, {'status': 'affected', 'version': '2.0.0', 'lessThan': '2.0.0.333', 'versionType': 'custom'}], 'defaultStatus': 'unaffected'}] Added 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. Added CVSS V3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L Added CWE CWE-298 Added Reference https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2024-3179/