CVE-2024-2321

MEDIUM
Published Feb 27, 2025 Modified Oct 3, 2025 CWE-863

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.

Is your site exposed to CVE-2024-2321?

Run a free security scan — no signup, results in seconds.

CVSS v3.1 Score

5.6
MEDIUM
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Weakness Type (CWE)

CWE-863 Incorrect Authorization

Affected Products

Vendor Product
wso2 api_manager
wso2 api_manager
wso2 api_manager
wso2 identity_server
wso2 identity_server
wso2 identity_server

References

Frequently Asked Questions

What is CVE-2024-2321? +
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. It has a CVSS v3.1 base score of 5.6 (MEDIUM).
How severe is CVE-2024-2321? +
CVE-2024-2321 has a CVSS v3.1 score of 5.6 out of 10, rated MEDIUM. This is a medium-severity vulnerability that should be remediated as part of regular maintenance.
What products are affected by CVE-2024-2321? +
CVE-2024-2321 affects products from wso2, specifically: api_manager, identity_server. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2024-2321? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2024-2321 — free, no signup required.