CVE-2023-6837
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedMultiple 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceMultiple WSO2 products contain a user impersonation vulnerability in the JIT provisioning flow. When an IDP is configured with federated authentication and JIT provisioning using the 'Prompt for username, password and consent' option, and a service provider uses 'Assert identity using mapped local subject identifier', an attacker with a fresh federated IDP account and knowledge of a local username can impersonate that user by hijacking the JIT provisioning process.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 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>= 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>= 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< 5.11.256.3>= 5.11.257.0, < 5.12.153.19>= 5.12.154.0, < 5.20.254< 5.11.256.3>= 5.11.257.0, < 5.12.153.21>= 5.12.154.0, < 5.12.387.7>= 5.12.388.0, < 5.14.97.22>= 5.14.98.0, < 5.17.5.106>= 5.17.6.0, < 5.18.187.76>= 5.18.188.0, < 5.20.254CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- High
- Privileges
- Low
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify WSO2 product and versionCheck the product version from the WSO2 installation. For WSO2 Identity Server, this is typically found in the product's about page or in the <product>/repository/conf/info/registry.xml or by examining the product banner at startup. For API Manager, check the <AM_HOME>/repository/conf/pom.xml or the management console.Affected if The installed version falls within any of the affected version ranges listed for the product.
-
Review Identity Provider configurations for federated authenticationAccess the WSO2 management console, navigate to Identity Providers section, and list all configured Identity Providers. Check each IDP to determine if federated authentication is enabled.Affected if Any Identity Provider is configured with federated authentication.
-
Check if any federated IDP has JIT provisioning enabledIn the Identity Provider configuration, examine the Just-In-Time Provisioning settings for each federated IDP. Verify if JIT provisioning is enabled and identify which option is selected.Affected if JIT provisioning is enabled on a federated IDP using the 'Prompt for username, password and consent' option.
-
Review Service Provider configurations for mapped local subjectAccess the WSO2 management console, navigate to Service Providers section, and review the local and outbound authentication configuration for each SP. Check if 'Assert identity using mapped local subject identifier' is enabled.Affected if Any Service Provider is configured with 'Assert identity using mapped local subject identifier' enabled.
A user is affected if the installed WSO2 product version is within the affected ranges AND an IDP is configured with federated authentication AND JIT provisioning is set to 'Prompt for username, password and consent' AND a service provider uses 'Assert identity using mapped local subject identifier'.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped2.5.0.322.6.0.523.0.0.50
Disable JIT provisioning on affected IDPs, or change the JIT provisioning option away from 'Prompt for username, password and consent', or disable 'Assert identity using mapped local subject identifier' on service providers. Review federated authentication configurations to ensure at least one required precondition is removed.
Upgrade to the latest fixed version in your release branch: Api Manager 2.5.0.32/2.6.0.52/3.0.0.50/3.1.0.72; Identity Server 5.6.0.16/5.7.0.35/5.8.0.26/5.9.0.38; Identity Server As Key Manager 5.6.0.17/5.7.0.39/5.9.0.45/5.10.0.80; Carbon Identity Application Authentication Endpoint 5.11.256.3/5.12.1
- 1. Identify the specific WSO2 product (Api Manager, Identity Server, Identity Server As Key Manager, Carbon Identity Application Authentication Endpoint, or Carbon Identity Application Authentication Framework) running in your environment.
- 2. Determine the current installed version using the product's administration console or command-line tools.
- 3. Based on the product and current version, upgrade to the corresponding fixed version: For Api Manager upgrade to 2.5.0.32 (for 2.5.x), 2.6.0.52 (for 2.6.x), 3.0.0.50 (for 3.0.x), or 3.1.0.72 (for 3.1.x). For Identity Server upgrade to 5.6.0.16 (for 5.6.x), 5.7.0.35 (for 5.7.x), 5.8.0.26 (for 5.8.x), or 5.9.0.38 (for 5.9.x). For Identity Server As Key Manager upgrade to 5.6.0.17 (for 5.6.x), 5.7
- 4. After upgrade, verify the JIT provisioning configuration in affected Identity Providers to ensure security settings are appropriate.
- 5. Test the federated authentication flow to confirm normal operation after the upgrade.
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation4.0 h
- Testing6.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,448.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2023-6837 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2023-6837 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data