{"schemaVersion":3,"id":"CVE-2023-6837","aliases":["GHSA-f6jm-9pr8-9c3w"],"status":"published","duplicateOf":null,"title":null,"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:\n\n  *  An IDP configured for federated authentication and JIT provisioning enabled with the \"Prompt for username, password and consent\" option.\n  *  A service provider that uses the above IDP for federated authentication and has the \"Assert identity using mapped local subject identifier\" flag enabled.\n\n\nAttacker should have:\n\n  *  A fresh valid user account in the federated IDP that has not been used earlier.\n  *  Knowledge of the username of a valid user in the local IDP.\n\n\nWhen all preconditions are met, a malicious actor could use JIT provisioning flow to perform user impersonation.","dates":{"published":"2023-12-15T09:41:22.719Z","modified":"2025-09-25T14:59:58.384Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":8.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","exploitability":7.9,"impact":7.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0046,"percentile":0.38548,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.0046},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0046,"percentile":0.38548}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0046,"percentile":0.38548}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-863","name":"Incorrect Authorization","description":"The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/863.html"}],"affected":[{"vendor":"org.wso2.carbon.identity.framework","product":"org.wso2.carbon.identity.application.authentication.framework","name":"org.wso2.carbon.identity.framework:org.wso2.carbon.identity.application.authentication.framework","label":"org.wso2.carbon.identity.application.authentication.framework","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.wso2.carbon.identity.framework/org.wso2.carbon.identity.application.authentication.framework","purlType":"maven","versions":[{"text":"< 5.20.254","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.20.254","eol":null,"hubHref":null},{"vendor":"org.wso2.identity.apps","product":"authentication-portal","name":"org.wso2.identity.apps:authentication-portal","label":"authentication-portal","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.wso2.identity.apps/authentication-portal","purlType":"maven","versions":[{"text":"< 1.6.179.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.6.179.1","eol":null,"hubHref":null},{"vendor":"wso2","product":"api_manager","name":"api manager","label":"api_manager","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.5.0, < 2.5.0.32","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.6.0, < 2.6.0.52","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.0.0, < 3.0.0.50","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.1.0, < 3.1.0.72","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.2.0, < 3.2.0.86","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.0.0, < 4.0.0.35","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 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","eol":null,"hubHref":"/vendor/wso2/api_manager"},{"vendor":"wso2","product":"carbon_identity_application_authentication_endpoint","name":"carbon identity application authentication endpoint","label":"carbon_identity_application_authentication_endpoint","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 5.11.256.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.11.257.0, < 5.12.153.19","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.12.154.0, < 5.20.254","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.11.256.3 | ≥ 5.11.257.0, < 5.12.153.19 | ≥ 5.12.154.0, < 5.20.254","eol":null,"hubHref":"/vendor/wso2/carbon_identity_application_authentication_endpoint"},{"vendor":"wso2","product":"carbon_identity_application_authentication_framework","name":"carbon identity application authentication framework","label":"carbon_identity_application_authentication_framework","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 5.11.256.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.11.257.0, < 5.12.153.21","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.12.154.0, < 5.12.387.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.12.388.0, < 5.14.97.22","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.14.98.0, < 5.17.5.106","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.17.6.0, < 5.18.187.76","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.18.188.0, < 5.20.254","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 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.254","eol":null,"hubHref":"/vendor/wso2/carbon_identity_application_authentication_framework"},{"vendor":"wso2","product":"identity_server","name":"identity server","label":"identity_server","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 5.6.0, < 5.6.0.16","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.7.0, < 5.7.0.35","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.8.0, < 5.8.0.26","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.9.0, < 5.9.0.38","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.10.0, < 5.10.0.78","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.11.0, < 5.11.0.69","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 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","eol":null,"hubHref":"/vendor/wso2/identity_server"},{"vendor":"wso2","product":"identity_server_as_key_manager","name":"identity server as key manager","label":"identity_server_as_key_manager","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 5.6.0, < 5.6.0.17","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.7.0, < 5.7.0.39","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.9.0, < 5.9.0.45","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.10.0, < 5.10.0.80","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 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","eol":null,"hubHref":"/vendor/wso2/identity_server_as_key_manager"},{"vendor":"wso2","product":"wso2 api manager","name":"WSO2 API Manager","label":"wso2 api manager","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.5.0, < 2.5.0.32","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.6.0, < 2.6.0.52","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.0.0, < 3.0.0.50","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.1.0, < 3.1.0.72","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.2.0, < 3.2.0.86","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.0.0, < 4.0.0.35","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 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","eol":null,"hubHref":"/vendor/wso2/wso2_api_manager"},{"vendor":"wso2","product":"wso2 carbon identity application authentication framework","name":"WSO2 Carbon Identity Application Authentication Framework","label":"wso2 carbon identity application authentication framework","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 5.11.256, < 5.11.256.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.12.153, < 5.12.153.21","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.12.387, < 5.12.387.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.14.97, < 5.14.97.22","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.17.5, < 5.17.5.106","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.18.187, < 5.18.187.76","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 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","eol":null,"hubHref":"/vendor/wso2/wso2_carbon_identity_application_authentication_framework"},{"vendor":"wso2","product":"wso2 identity server","name":"WSO2 Identity Server","label":"wso2 identity server","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 5.6.0, < 5.6.0.16","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.7.0, < 5.7.0.35","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.8.0, < 5.8.0.26","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.9.0, < 5.9.0.38","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.10.0, < 5.10.0.78","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.11.0, < 5.11.0.69","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 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","eol":null,"hubHref":"/vendor/wso2/wso2_identity_server"},{"vendor":"wso2","product":"wso2 identity server as key manager","name":"WSO2 Identity Server as Key Manager","label":"wso2 identity server as key manager","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 5.6.0, < 5.6.0.17","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.7.0, < 5.7.0.39","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.9.0, < 5.9.0.45","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.10.0, < 5.10.0.80","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 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","eol":null,"hubHref":"/vendor/wso2/wso2_identity_server_as_key_manager"}],"affectedCount":11,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2022/WSO2-2021-1573/","label":"security.docs.wso2.com/en/latest/security-announcements/security-advisories/2022/WSO2-2021-1573/","hostname":"security.docs.wso2.com","tags":["Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-6837","label":"nvd.nist.gov/vuln/detail/CVE-2023-6837","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/wso2/carbon-identity-framework/commit/fdab609760784086b8a3f55f7acf46d977a03d79","label":"github.com/wso2/carbon-identity-framework/commit/fdab609760784086b8a3f55f7acf46d977a03d79","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/wso2/identity-apps/commit/1424203bbe81688d661ea8b8cd28e332302e1c53","label":"github.com/wso2/identity-apps/commit/1424203bbe81688d661ea8b8cd28e332302e1c53","hostname":"github.com","tags":["WEB"]},{"url":"https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2022/WSO2-2021-1573","label":"security.docs.wso2.com/en/latest/security-announcements/security-advisories/2022/WSO2-2021-1573","hostname":"security.docs.wso2.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-12-15T09:41:22.719Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-09-25T14:59:58.384Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":34,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T05:02:43.168Z","stale":false,"partial":false}}