5.6medium
Incorrect Authorization in Multiple WSO2 Products Allows API Access via Refresh Token
- Severity
- 5.6medium CVSS:3.1 by WSO2
- Exploit likelihood
- 0.24% (higher than 16% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- WSO2
- Also known as
- GHSA-6qjp-wm6g-m32r
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
| Product or package | Versions | Reported by |
|---|---|---|
| WSO2 WSO2 API Manager | before 3.0.0, from 4.0.0 before 4.0.0.275, from 4.1.0 before 4.1.0.153, from 4.2.0 before 4.2.0.83 | CVE List |
| WSO2 WSO2 Identity Server | before 5.9.0, from 5.11.0 before 5.11.0.326, from 6.0.0 before 6.0.0.172, from 6.1.0 before 6.1.0.130 | CVE List |
| org.wso2.am:am-parent (Maven) | from 4.2.0-beta up to 4.2.0, from 4.1.0-alpha up to 4.1.0, from 4.0.0-beta up to 4.0.0 | GitHub Advisory Database |
| org.wso2.is:identity-server-parent (Maven) | from 6.1.0-beta up to 6.1.0, from 6.0.0-alpha3 up to 6.0.0, from 5.11.0-alpha up to 5.11.0 | GitHub Advisory Database |
| wso2 api_manager | 4.0.0, 4.1.0, 4.2.0 | NVD |
| wso2 identity_server | 5.11.0, 6.0.0, 6.1.0 | NVD |
All scores
| WSO2 | 5.6medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| GitHub | 5.6medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | 5.6medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Existe una vulnerabilidad de autorización incorrecta en varios productos WSO2, que permite acceder a las API protegidas directamente mediante un token de actualización en lugar del token de acceso esperado. Debido a las comprobaciones de autorización y la asignación de tokens incorrectas, no se requieren cookies de sesión para el acceso a la API, lo que potencialmente permite operaciones no autorizadas. Para explotar esta vulnerabilidad, es necesario que un atacante obtenga un token de actualización válido de un usuario administrador. Dado que los tokens de actualización generalmente tienen un tiempo de vencimiento más largo, esto podría provocar un acceso no autorizado prolongado a los recursos de la API, lo que afecta la confidencialidad e integridad de los datos.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-2321 changed 2025-02-27 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-6qjp-wm6g-m32r changed 2025-03-03 | CC-BY-4.0 |
| NVD | CVE-2024-2321 changed 2026-06-17 | Public domain |