Skip to main content
← All vulnerabilities
CVE-2023-6837GHSA-F6JM-9PR8-9C3W

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.5.0.32, 2.6.0.52, 3.0.0.50, 3.1.0.72, 3.2.0.86, and 19 more
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • WSO2 WSO2 API Manager

    From 2.5.0 · fixed in 2.5.0.32; From 2.6.0 · fixed in 2.6.0.52; From 3.0.0 · fixed in 3.0.0.50; From 3.1.0 · fixed in 3.1.0.72; From 3.2.0 · fixed in 3.2.0.86; From 4.0.0 · fixed in 4.0.0.35

  • WSO2 WSO2 Identity Server

    From 5.6.0 · fixed in 5.6.0.16; From 5.7.0 · fixed in 5.7.0.35; From 5.8.0 · fixed in 5.8.0.26; From 5.9.0 · fixed in 5.9.0.38; From 5.10.0 · fixed in 5.10.0.78; From 5.11.0 · fixed in 5.11.0.69

  • WSO2 WSO2 Identity Server as Key Manager

    From 5.6.0 · fixed in 5.6.0.17; From 5.7.0 · fixed in 5.7.0.39; From 5.9.0 · fixed in 5.9.0.45; From 5.10.0 · fixed in 5.10.0.80

  • org.wso2.carbon.identity.framework:org.wso2.carbon.identity.application.authentication.framework

    From 5.11.256 · fixed in 5.11.256.3; From 5.12.153 · fixed in 5.12.153.21; From 5.12.387 · fixed in 5.12.387.7; From 5.14.97 · fixed in 5.14.97.22; From 5.17.5 · fixed in 5.17.5.106; From 5.18.187 · fixed in 5.18.187.76

  • org.wso2.carbon.identity.framework:org.wso2.carbon.identity.application.authentication.frameworkMaven

    fixed in 5.20.254

  • org.wso2.identity.apps:authentication-portalMaven

    fixed in 1.6.179.1

References 1

security.docs.wso2.com