NetSight
medium5.6

CVE-2024-2321

WSO2 incorrect authorization vulnerability

Impact

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 packages

EcosystemPackageAffectedFixed in
mavenorg.wso2.am:am-parent>= 4.2.0-beta, <= 4.2.0none recorded
mavenorg.wso2.is:identity-server-parent>= 6.1.0-beta, <= 6.1.0none recorded

Affected products

VendorProductAffected versions
Wso2Api Manager
Versions 4.0.0, 4.1.0, 4.2.0
Wso2Identity Server
Versions 5.11.0, 6.0.0, 6.1.0

Weakness classification

References