Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2023-6837

HIGH 8.5EPSS 39%

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

Also known as GHSA-f6jm-9pr8-9c3w

Mitigation

  • Upgrade org.wso2.carbon.identity.framework:org.wso2.carbon.identity.application.authentication.framework to 5.20.254 or later.
  • Upgrade org.wso2.identity.apps:authentication-portal to 1.6.179.1 or later.

Who should check

  • Projects that depend on Maven package org.wso2.carbon.identity.framework:org.wso2.carbon.identity.application.authentication.framework (< 5.20.254)
  • Projects that depend on Maven package org.wso2.identity.apps:authentication-portal (< 1.6.179.1)
  • Anyone running WSO2 API Manager >= 2.5.0, < 2.5.0.32; >= 2.6.0, < 2.6.0.52; >= 3.0.0, < 3.0.0.50; >= 3.1.0, < 3.1.0.72; >= 3.2.0, < 3.2.0.86; >= 4.0.0, < 4.0.0.35
  • Anyone running WSO2 Identity Server >= 5.6.0, < 5.6.0.16; >= 5.7.0, < 5.7.0.35; >= 5.8.0, < 5.8.0.26; >= 5.9.0, < 5.9.0.38; >= 5.10.0, < 5.10.0.78; >= 5.11.0, < 5.11.0.69
  • Anyone running WSO2 Identity Server as Key Manager >= 5.6.0, < 5.6.0.17; >= 5.7.0, < 5.7.0.39; >= 5.9.0, < 5.9.0.45; >= 5.10.0, < 5.10.0.80
  • Anyone running WSO2 Carbon Identity Application Authentication Framework >= 5.11.256, < 5.11.256.3; >= 5.12.153, < 5.12.153.21; >= 5.12.387, < 5.12.387.7; >= 5.14.97, < 5.14.97.22; >= 5.17.5, < 5.17.5.106; >= 5.18.187, < 5.18.187.76

Vulnerability facts

Affected
org.wso2.carbon.identity.framework:org.wso2.carbon.identity.application.authentication.framework < 5.20.254; org.wso2.identity.apps:authentication-portal < 1.6.179.1
Fixed in
5.20.254, 1.6.179.1
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
8.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: High
  • Integrity impact: Low
  • Availability impact: None
EPSS
0.55% chance of exploitation in 30 days (percentile 39, 2026-11-26)
CWE
CWE-863
Published
Modified

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 and fixed versions

Package / productAffectedFixedSource
Maven org.wso2.carbon.identity.framework:org.wso2.carbon.identity.application.authentication.framework< 5.20.2545.20.254osv
Maven org.wso2.identity.apps:authentication-portal< 1.6.179.11.6.179.1osv
WSO2 API Manager>= 2.5.0, < 2.5.0.32; >= 2.6.0, < 2.6.0.52; >= 3.0.0, < 3.0.0.50; >= 3.1.0, < 3.1.0.72; >= 3.2.0, < 3.2.0.86; >= 4.0.0, < 4.0.0.35—cvelist
WSO2 Identity Server>= 5.6.0, < 5.6.0.16; >= 5.7.0, < 5.7.0.35; >= 5.8.0, < 5.8.0.26; >= 5.9.0, < 5.9.0.38; >= 5.10.0, < 5.10.0.78; >= 5.11.0, < 5.11.0.69—cvelist
WSO2 Identity Server as Key Manager>= 5.6.0, < 5.6.0.17; >= 5.7.0, < 5.7.0.39; >= 5.9.0, < 5.9.0.45; >= 5.10.0, < 5.10.0.80—cvelist
WSO2 Carbon Identity Application Authentication Framework>= 5.11.256, < 5.11.256.3; >= 5.12.153, < 5.12.153.21; >= 5.12.387, < 5.12.387.7; >= 5.14.97, < 5.14.97.22; >= 5.17.5, < 5.17.5.106; >= 5.18.187, < 5.18.187.76—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2023-6837. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-6837.md
Affected: org.wso2.carbon.identity.framework:org.wso2.carbon.identity.application.authentication.framework < 5.20.254; org.wso2.identity.apps:authentication-portal < 1.6.179.1
Fixed in: 5.20.254, 1.6.179.1

Steps:
1. Search this machine and project for org.wso2.carbon.identity.framework:org.wso2.carbon.identity.application.authentication.framework (Maven), org.wso2.identity.apps:authentication-portal (Maven), WSO2 API Manager, WSO2 Identity Server, WSO2 Identity Server as Key Manager, WSO2 Carbon Identity Application Authentication Framework: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2023-6837 being exploited?

There is no confirmed exploitation: CVE-2023-6837 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.55% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2023-6837?

High: CVSS 8.5 (v3.1, scored by CNA). Remote, login needed.

Which versions are affected by CVE-2023-6837?

org.wso2.carbon.identity.framework:org.wso2.carbon.identity.application.authentication.framework < 5.20.254; org.wso2.identity.apps:authentication-portal < 1.6.179.1.

Is there a fix for CVE-2023-6837?

Yes. Fixed in 5.20.254, 1.6.179.1. Upgrade org.wso2.carbon.identity.framework:org.wso2.carbon.identity.application.authentication.framework to 5.20.254 or later. Upgrade org.wso2.identity.apps:authentication-portal to 1.6.179.1 or later.

How do I check if I'm affected by CVE-2023-6837?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors