Vulnerability · Published Dec 15, 2023 · Assigned by WSO2

CVE-2023-6837Incorrect Authorization in Multiple WSO2 Products via Federated Authentication with JIT Provisioning Leading to User Impersonation

High 8.5

In plain English

A high-severity incorrect authorization in WSO2 API Manager from WSO2. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.5High
Exploit odds (30 days)0.5%top 60.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.wso2.carbon.identity.framework:org.wso2.carbon.identity.application.authentication.framework5.20.254GHSA-f6jm-9pr8-9c3w
Mavenorg.wso2.identity.apps:authentication-portal1.6.179.1GHSA-f6jm-9pr8-9c3w

Affected products (as reported)

VendorProductVersions
WSO2 WSO2 API Manager 2.5.0 – before 2.5.0.322.6.0 – before 2.6.0.523.0.0 – before 3.0.0.503.1.0 – before 3.1.0.723.2.0 – before 3.2.0.864.0.0 – before 4.0.0.35
WSO2 WSO2 Identity Server 5.6.0 – before 5.6.0.165.7.0 – before 5.7.0.355.8.0 – before 5.8.0.265.9.0 – before 5.9.0.385.10.0 – before 5.10.0.785.11.0 – before 5.11.0.69
WSO2 WSO2 Identity Server as Key Manager 5.6.0 – before 5.6.0.175.7.0 – before 5.7.0.395.9.0 – before 5.9.0.455.10.0 – before 5.10.0.80
WSO2 WSO2 Carbon Identity Application Authentication Framework 5.11.256 – before 5.11.256.35.12.153 – before 5.12.153.215.12.387 – before 5.12.387.75.14.97 – before 5.14.97.225.17.5 – before 5.17.5.1065.18.187 – before 5.18.187.76

Weakness: CWE-863 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N

References