Skip to content

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

MediumCVSS 5.6 EPSS 0.24%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

6 packages: 4 fixed.

PackageAffectedFixed inStatus
org.wso2.am/am-parent(Maven) = 4.0.0; = 4.0.0-beta; = 4.1.0-alpha; = 4.1.0-m1 +9 more after 4.0.0, 4.1.0, 4.2.0 Fixed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-alpha; = 5.11.0-alpha2; = 5.11.0-alpha3; = 5.11.0-beta +46 more after 5.11.0, 6.0.0, 6.1.0 Fixed
WSO2 API Manager >= 4.0.0, < 4.0.0.275; >= 4.1.0, < 4.1.0.153; >= 4.2.0, < 4.2.0.83 4.0.0.275, 4.1.0.153, 4.2.0.83 Fixed
WSO2 Identity Server >= 5.11.0, < 5.11.0.326; >= 6.0.0, < 6.0.0.172; >= 6.1.0, < 6.1.0.130 5.11.0.326, 6.0.0.172, 6.1.0.130 Fixed
WSO2 api manager = 4.0.0; = 4.1.0; = 4.2.0 No fix listed Versions listed
WSO2 identity server = 5.11.0; = 6.0.0; = 6.1.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
org.wso2.am/am-parent(Maven) >= 4.2.0-beta, <= 4.2.0 No fix listed
org.wso2.am/am-parent(Maven) = 4.2.0 No fix listed
org.wso2.am/am-parent(Maven) = 4.2.0-beta No fix listed
org.wso2.am/am-parent(Maven) = 4.2.0-m1 No fix listed
org.wso2.am/am-parent(Maven) >= 4.1.0-alpha, <= 4.1.0 No fix listed
org.wso2.am/am-parent(Maven) = 4.1.0-alpha No fix listed
org.wso2.am/am-parent(Maven) = 4.1.0-m1 No fix listed
org.wso2.am/am-parent(Maven) = 4.1.0-m2 No fix listed
org.wso2.am/am-parent(Maven) = 4.1.0-m3 No fix listed
org.wso2.am/am-parent(Maven) = 4.1.0-m4 No fix listed
org.wso2.am/am-parent(Maven) >= 4.0.0-beta, <= 4.0.0 No fix listed
org.wso2.am/am-parent(Maven) = 4.0.0 No fix listed
org.wso2.am/am-parent(Maven) = 4.0.0-beta No fix listed
org.wso2.is/identity-server-parent(Maven) >= 6.1.0-beta, <= 6.1.0 No fix listed
org.wso2.is/identity-server-parent(Maven) = 6.1.0 No fix listed
org.wso2.is/identity-server-parent(Maven) = 6.1.0-beta No fix listed
org.wso2.is/identity-server-parent(Maven) = 6.1.0-m1 No fix listed
org.wso2.is/identity-server-parent(Maven) >= 6.0.0-alpha3, <= 6.0.0 No fix listed
org.wso2.is/identity-server-parent(Maven) = 6.0.0 No fix listed
org.wso2.is/identity-server-parent(Maven) = 6.0.0-alpha3 No fix listed
org.wso2.is/identity-server-parent(Maven) >= 5.11.0-alpha, <= 5.11.0 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-alpha No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-alpha2 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-alpha3 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-beta No fix listed
Show 52 more
ProductAffected versionsFixed in
org.wso2.is/identity-server-parent(Maven) = 5.11.0-beta2 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-beta3 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-beta4 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-beta5 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-m10 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-m11 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-m12 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-m13 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-m14 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-m15 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-m16 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-m17 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-m18 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-m19 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-m2 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-m20 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-m21 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-m22 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-m23 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-m24 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-m25 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-m26 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-m27 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-m28 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-m29 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-m3 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-m30 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-m31 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-m32 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-m33 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-m34 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-m35 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-m4 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-m5 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-m6 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-m7 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-m8 No fix listed
org.wso2.is/identity-server-parent(Maven) = 5.11.0-m9 No fix listed
WSO2 API Manager < 3.0.0 3.0.0
WSO2 API Manager >= 4.0.0, < 4.0.0.275 4.0.0.275
WSO2 API Manager >= 4.1.0, < 4.1.0.153 4.1.0.153
WSO2 API Manager >= 4.2.0, < 4.2.0.83 4.2.0.83
WSO2 Identity Server < 5.9.0 5.9.0
WSO2 Identity Server >= 5.11.0, < 5.11.0.326 5.11.0.326
WSO2 Identity Server >= 6.0.0, < 6.0.0.172 6.0.0.172
WSO2 Identity Server >= 6.1.0, < 6.1.0.130 6.1.0.130
WSO2 api manager = 4.0.0 No fix listed
WSO2 api manager = 4.1.0 No fix listed
WSO2 api manager = 4.2.0 No fix listed
WSO2 identity server = 5.11.0 No fix listed
WSO2 identity server = 6.0.0 No fix listed
WSO2 identity server = 6.1.0 No fix listed

References