CVE-2024-2321
JSON

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 packageVersionsReported by
WSO2 WSO2 API Managerbefore 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.83CVE List
WSO2 WSO2 Identity Serverbefore 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.130CVE 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.0GitHub 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.0GitHub Advisory Database
wso2 api_manager4.0.0, 4.1.0, 4.2.0NVD
wso2 identity_server5.11.0, 6.0.0, 6.1.0NVD

All scores

WSO25.6medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
GitHub5.6medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
NVD5.6medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Classification

CWE-863

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

SourceRecordLicence
CVE ListCVE-2024-2321 changed 2025-02-27CVE Terms of Use
GitHub Advisory DatabaseGHSA-6qjp-wm6g-m32r changed 2025-03-03CC-BY-4.0
NVDCVE-2024-2321 changed 2026-06-17Public domain