CVE-2023-6837Incorrect Authorization in Multiple WSO2 Products via Federated Authentication with JIT…
Multiple WSO2 products have been identified as vulnerable to perform user impersonatoin using JIT provisioning. In order for this vulnerability to have any impact on your deployment, following conditions must be met: * An IDP configured for federated authentication and JIT provisioning enabled with the "Prompt for username, password and consent" option. * A service provider that uses the above IDP for federated authentication and has the "Assert identity using mapped local subject identifier" flag enabled. Attacker should have: * A fresh valid user account in the federated IDP that has not been used earlier. * Knowledge of the username of a valid user in the local IDP. When all preconditions are met, a malicious actor could use JIT provisioning flow to perform user impersonation.
What to do
Fixed builds are available from Maven: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Maven library | org.wso2.carbon.identity.framework:org.wso2.carbon.identity.application.authentication.framework | Fixed | 5.20.254 | GHSA-f6jm-9pr8-9c3w |
| Maven library | org.wso2.identity.apps:authentication-portal | Fixed | 1.6.179.1 | GHSA-f6jm-9pr8-9c3w |
What the vendor says
As published in the CVE record by WSO2, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- WSO2 API Manager: affected: 2.5.0 to before 2.5.0.32, 2.6.0 to before 2.6.0.52, 3.0.0 to before 3.0.0.50, 3.1.0 to before 3.1.0.72, 3.2.0 to before 3.2.0.86, 4.0.0 to before 4.0.0.35; fixed in
2.5.0.32,2.6.0.52,3.0.0.50,3.1.0.72,3.2.0.86,4.0.0.35 - WSO2 Identity Server: affected: 5.6.0 to before 5.6.0.16, 5.7.0 to before 5.7.0.35, 5.8.0 to before 5.8.0.26, 5.9.0 to before 5.9.0.38, 5.10.0 to before 5.10.0.78, 5.11.0 to before 5.11.0.69; fixed in
5.6.0.16,5.7.0.35,5.8.0.26,5.9.0.38,5.10.0.78,5.11.0.69 - WSO2 Identity Server as Key Manager: affected: 5.6.0 to before 5.6.0.17, 5.7.0 to before 5.7.0.39, 5.9.0 to before 5.9.0.45, 5.10.0 to before 5.10.0.80; fixed in
5.6.0.17,5.7.0.39,5.9.0.45,5.10.0.80 - WSO2 Carbon Identity Application Authentication Framework: affected: 5.11.256 to before 5.11.256.3, 5.12.153 to before 5.12.153.21, 5.12.387 to before 5.12.387.7, 5.14.97 to before 5.14.97.22, 5.17.5 to before 5.17.5.106, 5.18.187 to before 5.18.187.76; fixed in
5.11.256.3,5.12.153.21,5.12.387.7,5.14.97.22,5.17.5.106,5.18.187.76
Solution: Follow the instructions given on https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2022/WSO2-2021-1... https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2022/WSO2-2021-1573/#solution
Vendor advisories:
- https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2022/… (vendor-advisory)
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.