Vulnerability · Published Feb 27, 2025 · Assigned by WSO2
CVE-2024-2321Incorrect Authorization in Multiple WSO2 Products Allows API Access via Refresh Token
Medium 5.6
In plain English
A medium-severity incorrect authorization in WSO2 API Manager from WSO2. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 15% of all known vulnerabilities).
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.wso2.am:am-parent | no fix listed | GHSA-6qjp-wm6g-m32r |
| Maven | org.wso2.am:am-parent | no fix listed | GHSA-6qjp-wm6g-m32r |
| Maven | org.wso2.am:am-parent | no fix listed | GHSA-6qjp-wm6g-m32r |
| Maven | org.wso2.is:identity-server-parent | no fix listed | GHSA-6qjp-wm6g-m32r |
| Maven | org.wso2.is:identity-server-parent | no fix listed | GHSA-6qjp-wm6g-m32r |
| Maven | org.wso2.is:identity-server-parent | no fix listed | GHSA-6qjp-wm6g-m32r |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| WSO2 | WSO2 API Manager | 4.0.0 – before 4.0.0.2754.1.0 – before 4.1.0.1534.2.0 – before 4.2.0.83 |
| WSO2 | WSO2 Identity Server | 5.11.0 – before 5.11.0.3266.0.0 – before 6.0.0.1726.1.0 – before 6.1.0.130 |
Weakness: CWE-863 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L