Skip to content
OpenAdvisories
Medium · 5.6 CVE-2024-2321 EUVD-2024-27275GHSA-6qjp-wm6g-m32r

Incorrect Authorization in Multiple WSO2 Products Allows API Access via Refresh Token

Published Feb 27, 2025 · Updated Feb 27, 2025 · Assigned by WSO2

Description

An incorrect authorization vulnerability exists in multiple WSO2 products, allowing protected APIs to be accessed directly using a refresh token instead of the expected access token. Due to improper authorization checks and token mapping, session cookies are not required for API access, potentially enabling unauthorized operations.

Exploitation requires an attacker to obtain a valid refresh token of an admin user. Since refresh tokens generally have a longer expiration time, this could lead to prolonged unauthorized access to API resources, impacting data confidentiality and integrity.

Affected products

VendorProductAffectedFixed
WSO2 WSO2 API Manager 4.0.0 – < 4.0.0.275, 4.1.0 – < 4.1.0.153, 4.2.0 – < 4.2.0.83 4.0.0.275
WSO2 WSO2 Identity Server 5.11.0 – < 5.11.0.326, 6.0.0 – < 6.0.0.172, 6.1.0 – < 6.1.0.130 5.11.0.326

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.wso2.am:am-parent >= 4.2.0-beta, <= 4.2.0 — GHSA-6qjp-wm6g-m32r
Maven org.wso2.am:am-parent >= 4.1.0-alpha, <= 4.1.0 — GHSA-6qjp-wm6g-m32r
Maven org.wso2.am:am-parent >= 4.0.0-beta, <= 4.0.0 — GHSA-6qjp-wm6g-m32r
Maven org.wso2.is:identity-server-parent >= 6.1.0-beta, <= 6.1.0 — GHSA-6qjp-wm6g-m32r
Maven org.wso2.is:identity-server-parent >= 6.0.0-alpha3, <= 6.0.0 — GHSA-6qjp-wm6g-m32r
Maven org.wso2.is:identity-server-parent >= 5.11.0-alpha, <= 5.11.0 — GHSA-6qjp-wm6g-m32r

References