Security Advisory WSO2-2025-4010/CVE-2025-1397

Published: 2025-09-23

Version: 1.0.0

Severity: Medium

CVSS Score: 4.8 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N)

CVE IDs: CVE-2025-1397


AFFECTED PRODUCTS

  • WSO2 API Control Plane: 4.5.0
  • WSO2 API Management Traffic Manager: 4.5.0
  • WSO2 API Manager: 3.1.0, 3.2.0, 3.2.1, 4.0.0, 4.1.0, 4.2.0, 4.3.0, 4.4.0, 4.5.0
  • WSO2 API Manager Universal Gateway: 4.5.0
  • WSO2 Identity Server: 5.10.0, 5.11.0, 6.0.0, 6.1.0, 7.0.0
  • WSO2 Identity Server as Key Manager: 5.10.0
  • WSO2 Open Banking AM: 2.0.0
  • WSO2 Open Banking IAM: 2.0.0

OVERVIEW

Access tokens can be obtained for disabled IDPs when JWT Bearer or SAML2 Bearer grants are used.

DESCRIPTION

When JWT Bearer or SAML2 Bearer grant types are used, the IDP status is not validated, allowing access tokens to be issued even if the IDP is disabled.

IMPACT

A malicious actor could exploit this flaw to obtain access tokens using a disabled IDP, potentially bypassing intended security restrictions and accessing protected resources.

SOLUTION

Community Users (Open Source)

Apply the relevant fixes to your product using the public fix(es) provided below.

If applying the fix or update is not feasible, migrate to the latest unaffected version of the respective WSO2 product(s).

Support Subscription Holders

Update your product to the specified update level or a higher update level to apply the fix.

Info

WSO2 Support Subscription Holders may use WSO2 Updates in order to apply the fix.

Product Name Product Version U2 Update Level
WSO2 API Control Plane 4.5.0 10
WSO2 API Management Traffic Manager 4.5.0 10
WSO2 API Manager 3.1.0 321
WSO2 API Manager 3.2.0 414
WSO2 API Manager 3.2.1 50
WSO2 API Manager 4.0.0 335
WSO2 API Manager 4.1.0 211
WSO2 API Manager 4.2.0 150
WSO2 API Manager 4.3.0 63
WSO2 API Manager 4.4.0 26
WSO2 API Manager 4.5.0 10
WSO2 API Manager Universal Gateway 4.5.0 11
WSO2 Identity Server 5.10.0 346
WSO2 Identity Server 5.11.0 396
WSO2 Identity Server 6.0.0 232
WSO2 Identity Server 6.1.0 224
WSO2 Identity Server 7.0.0 93
WSO2 Open Banking AM 2.0.0 370
WSO2 Open Banking IAM 2.0.0 390
WSO2 Identity Server as Key Manager 5.10.0 339

After applying the U2 update or public PR, issuing access tokens for disabled IDPs will be completely stopped. Hence, we highly recommend ensuring that all actively used IDPs are in an enabled state to avoid any functional disruptions.

issuing access tokens for disabled IDPs will be completely stopped. Hence, we highly recommend ensuring that all actively used IDPs are in an enabled state to avoid any functional disruptions.