{"answers":{"affected":"4 open source packages ship an affected version, including org.wso2.carbon.identity.framework:org.wso2.carbon.identity.application.authentication.framework and org.wso2.identity.apps:authentication-portal. It affects 5 products.","exploited":"There is no known exploitation of CVE-2023-6837 in the wild and no public exploit code.","fix":"Upgrade org.wso2.carbon.identity.framework:org.wso2.carbon.identity.application.authentication.framework to 5.20.254 or later.","what":"CVE-2023-6837 is a high-severity authentication bypass vulnerability in Wso2 Api Manager, published on 15 Dec 2023. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-6837 and fix it if it is affected.\n\nWhat it is: CVE-2023-6837 is a high-severity authentication bypass vulnerability in Wso2 Api Manager, published on 15 Dec 2023. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-6837 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.wso2.carbon.identity.framework:org.wso2.carbon.identity.application.authentication.framework (Maven): affected all versions; fixed in 5.20.254\n- org.wso2.carbon.identity.framework:org.wso2.carbon.identity.application.authentication.framework (Maven): affected all versions; fixed in 5.20.254\n- org.wso2.identity.apps:authentication-portal (Maven): affected all versions; fixed in 1.6.179.1\n- org.wso2.identity.apps:authentication-portal (Maven): affected all versions; fixed in 1.6.179.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-6837/ (Markdown: https://insights.sbomify.com/CVE-2023-6837/index.md)","id":"CVE-2023-6837","markdown":"https://insights.sbomify.com/CVE-2023-6837/index.md","name":"CVE-2023-6837","record":{"aliases":["GHSA-f6jm-9pr8-9c3w"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["account_takeover","privilege_escalation"],"network_reachable":"yes","non_default_config":true,"product_category":"WSO2 Identity Server","requires_auth":"low_privilege","summary":"Attackers can impersonate valid users via JIT provisioning in WSO2 products if specific federated authentication settings are enabled.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"WSO2","cpe":[{"product":"api_manager","vendor":"wso2"},{"product":"carbon_identity_application_authentication_endpoint","vendor":"wso2"},{"product":"carbon_identity_application_authentication_framework","vendor":"wso2"},{"product":"identity_server","vendor":"wso2"},{"product":"identity_server_as_key_manager","vendor":"wso2"}],"cvss":{"score":8.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"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\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\nWhen all preconditions are met, a malicious actor could use JIT provisioning flow to perform user impersonation.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Multiple WSO2 products vulnerable to perform user impersonatoin using JIT provisioning","id":"CVE-2023-6837","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"wso2:api_manager","products":["wso2:api_manager","wso2:identity_server","wso2:identity_server_as_key_manager"],"type":"auth_bypass","year":"2023"},"n_packages":4,"n_references":1,"next":{"headline":"Cross-site scripting in WSO2 API Manager","id":"CVE-2023-6838"},"packages":[{"ecosystem":"Maven","fixed":["5.20.254"],"introduced":["0"],"last_affected":[],"package":"org.wso2.carbon.identity.framework:org.wso2.carbon.identity.application.authentication.framework","purl":null,"source":"GHSA-f6jm-9pr8-9c3w"},{"ecosystem":"Maven","fixed":["5.20.254"],"introduced":["0"],"last_affected":[],"package":"org.wso2.carbon.identity.framework:org.wso2.carbon.identity.application.authentication.framework","purl":"pkg:maven/org.wso2.carbon.identity.framework/org.wso2.carbon.identity.application.authentication.framework","source":"GHSA-f6jm-9pr8-9c3w"},{"ecosystem":"Maven","fixed":["1.6.179.1"],"introduced":["0"],"last_affected":[],"package":"org.wso2.identity.apps:authentication-portal","purl":null,"source":"GHSA-f6jm-9pr8-9c3w"},{"ecosystem":"Maven","fixed":["1.6.179.1"],"introduced":["0"],"last_affected":[],"package":"org.wso2.identity.apps:authentication-portal","purl":"pkg:maven/org.wso2.identity.apps/authentication-portal","source":"GHSA-f6jm-9pr8-9c3w"}],"prev":{"headline":"WSO2 products vulnerable to XML External Entity attack","id":"CVE-2023-6836"},"products":["WSO2 API Manager","WSO2 Carbon Identity Application Authentication Framework","WSO2 Identity Server","WSO2 Identity Server as Key Manager"],"published":"2023-12-15","related":[{"cvss_score":9.8,"headline":"WSO2 Multiple Products Unrestrictive Upload of File","id":"CVE-2022-29464","kev_date_added":"2022-04-25","published":"2022-04-18"},{"cvss_score":9.8,"headline":"Incorrect Authorization in Multiple WSO2 Products via Account Recovery SOAP Admin Service Leading to Account Takeover","id":"CVE-2024-6914","kev_date_added":null,"published":"2025-05-22"},{"cvss_score":9.8,"headline":"WSO2 API Manager vulnerable to SSRF","id":"CVE-2020-13226","kev_date_added":null,"published":"2020-05-20"},{"cvss_score":9.1,"headline":"An XML External Entity (XXE) vulnerability in Multiple WSO2 Products","id":"CVE-2025-2905","kev_date_added":null,"published":"2025-05-05"},{"cvss_score":9.1,"headline":"XML external entity in n/a","id":"CVE-2021-42646","kev_date_added":null,"published":"2022-05-11"},{"cvss_score":9.1,"headline":"XML external entity in n/a","id":"CVE-2020-24589","kev_date_added":null,"published":"2020-08-21"},{"cvss_score":9.1,"headline":"XML external entity in n/a","id":"CVE-2020-24590","kev_date_added":null,"published":"2020-08-21"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2025-09-25","vendors":["WSO2"]},"summary":"Attackers can impersonate valid users via JIT provisioning in WSO2 products if specific federated authentication settings are enabled.","url":"https://insights.sbomify.com/CVE-2023-6837/"}