CVE-2024-1248 Role Overwriting via Silent JIT Provisioning in Multiple WSO2 Products Enables Privilege Escalation
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
10 packages: 10 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| WSO2 API Manager | >= 3.0.0, < 3.0.0.153; >= 3.1.0, < 3.1.0.267; >= 3.2.0, < 3.2.0.351; >= 4.0.0, < 4.0.0.269 +1 more | 3.0.0.153, 3.1.0.267, 3.2.0.351, 4.0.0.269, 4.1.0.169 | Fixed |
| WSO2 api manager | >= 3.0.0, < 3.0.0.153; >= 3.1.0, < 3.1.0.267; >= 3.2.0, < 3.2.0.351; >= 4.0.0, < 4.0.0.269 +1 more | 3.0.0.153, 3.1.0.267, 3.2.0.351, 4.0.0.269, 4.1.0.169 | Fixed |
| WSO2 Identity Server | >= 5.8.0, < 5.8.0.101; >= 5.9.0, < 5.9.0.138; >= 5.10.0, < 5.10.0.284; >= 5.11.0, < 5.11.0.321 | 5.8.0.101, 5.9.0.138, 5.10.0.284, 5.11.0.321 | Fixed |
| WSO2 identity server | >= 5.8.0, < 5.8.0.101; >= 5.9.0, < 5.9.0.138; >= 5.10.0, < 5.10.0.284; >= 5.11.0, < 5.11.0.321 | 5.8.0.101, 5.9.0.138, 5.10.0.284, 5.11.0.321 | Fixed |
| WSO2 Identity Server as Key Manager | >= 5.9.0, < 5.9.0.148; >= 5.10.0, < 5.10.0.280 | 5.9.0.148, 5.10.0.280 | Fixed |
| WSO2 identity server as key manager | >= 5.9.0, < 5.9.0.148; >= 5.10.0, < 5.10.0.280 | 5.9.0.148, 5.10.0.280 | Fixed |
| WSO2 Open Banking AM | >= 2.0.0, < 2.0.0.313 | 2.0.0.313 | Fixed |
| WSO2 open banking am | >= 2.0.0, < 2.0.0.313 | 2.0.0.313 | Fixed |
| WSO2 Open Banking IAM | >= 2.0.0, < 2.0.0.333 | 2.0.0.333 | Fixed |
| WSO2 open banking iam | >= 2.0.0, < 2.0.0.333 | 2.0.0.333 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| WSO2 API Manager | < 3.0.0 | 3.0.0 |
| WSO2 API Manager | >= 3.0.0, < 3.0.0.153 | 3.0.0.153 |
| WSO2 API Manager | >= 3.1.0, < 3.1.0.267 | 3.1.0.267 |
| WSO2 API Manager | >= 3.2.0, < 3.2.0.351 | 3.2.0.351 |
| WSO2 API Manager | >= 4.0.0, < 4.0.0.269 | 4.0.0.269 |
| WSO2 API Manager | >= 4.1.0, < 4.1.0.169 | 4.1.0.169 |
| WSO2 Identity Server | < 5.8.0 | 5.8.0 |
| WSO2 Identity Server | >= 5.8.0, < 5.8.0.101 | 5.8.0.101 |
| WSO2 Identity Server | >= 5.9.0, < 5.9.0.138 | 5.9.0.138 |
| WSO2 Identity Server | >= 5.10.0, < 5.10.0.284 | 5.10.0.284 |
| WSO2 Identity Server | >= 5.11.0, < 5.11.0.321 | 5.11.0.321 |
| WSO2 Identity Server as Key Manager | < 5.9.0 | 5.9.0 |
| WSO2 Identity Server as Key Manager | >= 5.9.0, < 5.9.0.148 | 5.9.0.148 |
| WSO2 Identity Server as Key Manager | >= 5.10.0, < 5.10.0.280 | 5.10.0.280 |
| WSO2 Open Banking AM | < 2.0.0 | 2.0.0 |
| WSO2 Open Banking AM | >= 2.0.0, < 2.0.0.313 | 2.0.0.313 |
| WSO2 Open Banking IAM | < 2.0.0 | 2.0.0 |
| WSO2 Open Banking IAM | >= 2.0.0, < 2.0.0.333 | 2.0.0.333 |
| WSO2 api manager | >= 3.0.0, < 3.0.0.153 | 3.0.0.153 |
| WSO2 api manager | >= 3.1.0, < 3.1.0.267 | 3.1.0.267 |
| WSO2 api manager | >= 3.2.0, < 3.2.0.351 | 3.2.0.351 |
| WSO2 api manager | >= 4.0.0, < 4.0.0.269 | 4.0.0.269 |
| WSO2 api manager | >= 4.1.0, < 4.1.0.169 | 4.1.0.169 |
| WSO2 identity server | >= 5.8.0, < 5.8.0.101 | 5.8.0.101 |
| WSO2 identity server | >= 5.9.0, < 5.9.0.138 | 5.9.0.138 |
Show 6 more
| Product | Affected versions | Fixed in |
|---|---|---|
| WSO2 identity server | >= 5.10.0, < 5.10.0.284 | 5.10.0.284 |
| WSO2 identity server | >= 5.11.0, < 5.11.0.321 | 5.11.0.321 |
| WSO2 identity server as key manager | >= 5.9.0, < 5.9.0.148 | 5.9.0.148 |
| WSO2 identity server as key manager | >= 5.10.0, < 5.10.0.280 | 5.10.0.280 |
| WSO2 open banking am | >= 2.0.0, < 2.0.0.313 | 2.0.0.313 |
| WSO2 open banking iam | >= 2.0.0, < 2.0.0.333 | 2.0.0.333 |
References
- security.docs.wso2.com vendor-advisory