CVE-2024-2321: WSO2 incorrect authorization vulnerability
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.
Published Feb 27, 2025 · Updated Mar 3, 2025
Affected packages
org.wso2.am:am-parent
- Ecosystem
- Maven
- Affected
- >= 4.2.0-beta, <= 4.2.0
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.wso2.am:am-parent
org.wso2.am:am-parent
- Ecosystem
- Maven
- Affected
- >= 4.1.0-alpha, <= 4.1.0
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.wso2.am:am-parent
org.wso2.am:am-parent
- Ecosystem
- Maven
- Affected
- >= 4.0.0-beta, <= 4.0.0
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.wso2.am:am-parent
org.wso2.is:identity-server-parent
- Ecosystem
- Maven
- Affected
- >= 6.1.0-beta, <= 6.1.0
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.wso2.is:identity-server-parent
org.wso2.is:identity-server-parent
- Ecosystem
- Maven
- Affected
- >= 6.0.0-alpha3, <= 6.0.0
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.wso2.is:identity-server-parent
org.wso2.is:identity-server-parent
- Ecosystem
- Maven
- Affected
- >= 5.11.0-alpha, <= 5.11.0
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.wso2.is:identity-server-parent
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-2321
- https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2024/WSO2-2024-3213
- https://github.com/wso2/docs-security/blob/76bad9a2f38dc3377af476d0be52c6e775e3d864/en/docs/security-announcements/security-advisories/2024/WSO2-2024-3213.md
- https://github.com/advisories/GHSA-6qjp-wm6g-m32r
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
