# CVE-2024-2321: Incorrect Authorization in Multiple WSO2 Products Allows API Access via Refresh Token

- Severity: Medium 5.6 (CVSS:3.1, scored by WSO2) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2025-02-27T04:08:33.552Z
- Modified: 2026-06-17T07:24:18.777Z
- Also known as: GHSA-6qjp-wm6g-m32r
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- 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
- 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
- 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
- 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
- wso2 api_manager: 4.0.0; 4.1.0; 4.2.0
- wso2 identity_server: 5.11.0; 6.0.0; 6.1.0

## Every score

- WSO2: CVSS:3.1 5.6 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 5.6 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 5.6 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`

## References

- <https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2024/WSO2-2024-3213/> (vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-2321> (advisory)
- <https://github.com/wso2/docs-security/blob/76bad9a2f38dc3377af476d0be52c6e775e3d864/en/docs/security-announcements/security-advisories/2024/WSO2-2024-3213.md> (web)
- <https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2024/WSO2-2024-3213> (web)

## Sources

- CVE List: [CVE-2024-2321](https://www.cve.org/CVERecord?id=CVE-2024-2321), CVE Terms of Use, modified 2025-02-27
- GitHub Advisory Database: [GHSA-6qjp-wm6g-m32r](https://github.com/advisories/GHSA-6qjp-wm6g-m32r), CC-BY-4.0, modified 2025-03-03
- NVD: [CVE-2024-2321](https://nvd.nist.gov/vuln/detail/CVE-2024-2321), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-2321 · Whole record: https://cve.day/CVE-2024-2321.json · Rebuilt by cve.day 2026-11-25T22:58:52.110Z
