CVE-2025-1397

Improper IDP Status Validation via JWT Bearer or SAML2 Bearer Grants in Multiple WSO2 Products Allows Access Token Issuance for Disabled Identity Providers

Medium published · updated

4.8
CVSS score out of 10 · NVD (ed10eef1-636d-4fbe-9993-6890dfa878f8)

Description

When utilizing JWT Bearer or SAML2 Bearer grant types, the system fails to validate the status of the Identity Provider (IDP) before issuing access tokens. This oversight permits tokens to be generated even when the associated IDP has been disabled.

A malicious actor could leverage this vulnerability to obtain access tokens by targeting a disabled IDP. This could enable them to bypass intended security controls and potentially access protected resources that should be inaccessible due to the IDP's disabled state.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
wso2 universal gateway wso2 4.5.0 → <4.5.0.104.5.0.10 CVE.org
wso2 traffic manager wso2 4.5.0 → <4.5.0.104.5.0.10 CVE.org
wso2 api manager wso2 3.1.0 → <3.1.0.321; 3.2.0 → <3.2.0.414; 3.2.1 → <3.2.1.50; 4.0.0 → <4.0.0.335; 4.1.0 → <4.1.0.211; 4.2.0 → <4.2.0.150; 4.3.0 → <4.3.0.63; 4.4.0 → <4.4.0.26; 4.5.0 → <4.5.0.104.5.0.10 CVE.org
wso2 api control plane wso2 4.5.0 → <4.5.0.114.5.0.11 CVE.org
wso2 identity server wso2 5.10.0 → <5.10.0.346; 5.11.0 → <5.11.0.396; 6.0.0 → <6.0.0.232; 6.1.0 → <6.1.0.224; 7.0.0 → <7.0.0.937.0.0.93 CVE.org
wso2 open banking am wso2 2.0.0 → <2.0.0.3702.0.0.370 CVE.org
wso2 open banking iam wso2 2.0.0 → <2.0.0.3902.0.0.390 CVE.org
wso2 identity server as key manager wso2 5.10.0 → <5.10.0.3395.10.0.339 CVE.org
wso2 carbon oauth wso2 6.4.2 → <6.4.2.155; 6.4.111 → <6.4.111.134; 6.4.176 → <6.4.176.25; 6.4.180 → <6.4.180.11; 6.8.0 → <6.8.0.49; 6.9.6 → <6.9.6.22; 6.11.21 → <6.11.21.75; 6.13.16 → <6.13.16.15; 6.13.19 → <6.13.19.9; 6.137.0.26.58 CVE.org
jwt grant type for oauth2 wso2 1.0.26 → <1.0.26.6; 1.0.26 → <1.0.26.7; 1.0.31 → <1.0.31.3; 1.1.0 → <1.1.0.2; 2.0.4 → <2.0.4.3; 2.1.1 → <2.1.1.2; 2.2.0 → <2.2.0.3; 2.2.4 → <2.2.4.1; 2.3.1 → <2.3.1.42.3.1.4 CVE.org

References