Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-2321

MEDIUM 5.6EPSS 26%

Incorrect Authorization in Multiple WSO2 Products Allows API Access via Refresh Token

Also known as GHSA-6qjp-wm6g-m32r

Mitigation

  • Upgrade WSO2 API Manager to 4.2.0.83 or later.
  • Upgrade WSO2 Identity Server to 6.1.0.130 or later.

Who should check

  • Projects that depend on Maven package org.wso2.am:am-parent (>= 4.2.0-beta, <= 4.2.0)
  • Projects that depend on Maven package org.wso2.is:identity-server-parent (>= 6.1.0-beta, <= 6.1.0)
  • Anyone running WSO2 API Manager >= 4.0.0, < 4.0.0.275; >= 4.1.0, < 4.1.0.153; >= 4.2.0, < 4.2.0.83
  • Anyone running WSO2 Identity Server >= 5.11.0, < 5.11.0.326; >= 6.0.0, < 6.0.0.172; >= 6.1.0, < 6.1.0.130

Vulnerability facts

Affected
org.wso2.am:am-parent >= 4.2.0-beta, <= 4.2.0; org.wso2.is:identity-server-parent >= 6.1.0-beta, <= 6.1.0
Fixed in
WSO2 API Manager 4.0.0.275, WSO2 API Manager 4.1.0.153, WSO2 API Manager 4.2.0.83, WSO2 Identity Server 5.11.0.326, WSO2 Identity Server 6.0.0.172, WSO2 Identity Server 6.1.0.130
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
5.6 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: Low
  • Integrity impact: Low
  • Availability impact: Low
EPSS
0.40% chance of exploitation in 30 days (percentile 26, 2026-11-26)
CWE
CWE-863
Published
Modified

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 and fixed versions

Package / productAffectedFixedSource
Maven org.wso2.am:am-parent>= 4.2.0-beta, <= 4.2.0—osv
Maven org.wso2.is:identity-server-parent>= 6.1.0-beta, <= 6.1.0—osv
WSO2 API Manager>= 4.0.0, < 4.0.0.275; >= 4.1.0, < 4.1.0.153; >= 4.2.0, < 4.2.0.83—cvelist
WSO2 Identity Server>= 5.11.0, < 5.11.0.326; >= 6.0.0, < 6.0.0.172; >= 6.1.0, < 6.1.0.130—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-2321. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-2321.md
Affected: org.wso2.am:am-parent >= 4.2.0-beta, <= 4.2.0; org.wso2.is:identity-server-parent >= 6.1.0-beta, <= 6.1.0
Fixed in: WSO2 API Manager 4.0.0.275, WSO2 API Manager 4.1.0.153, WSO2 API Manager 4.2.0.83, WSO2 Identity Server 5.11.0.326, WSO2 Identity Server 6.0.0.172, WSO2 Identity Server 6.1.0.130

Steps:
1. Search this machine and project for org.wso2.am:am-parent (Maven), org.wso2.is:identity-server-parent (Maven), WSO2 API Manager, WSO2 Identity Server: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-2321 being exploited?

There is no confirmed exploitation: CVE-2024-2321 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.40% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-2321?

Medium: CVSS 5.6 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2024-2321?

org.wso2.am:am-parent >= 4.2.0-beta, <= 4.2.0; org.wso2.is:identity-server-parent >= 6.1.0-beta, <= 6.1.0.

Is there a fix for CVE-2024-2321?

Yes. Fixed in WSO2 API Manager 4.0.0.275, WSO2 API Manager 4.1.0.153, WSO2 API Manager 4.2.0.83, WSO2 Identity Server 5.11.0.326, WSO2 Identity Server 6.0.0.172, WSO2 Identity Server 6.1.0.130. Upgrade WSO2 API Manager to 4.2.0.83 or later. Upgrade WSO2 Identity Server to 6.1.0.130 or later.

How do I check if I'm affected by CVE-2024-2321?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors