CVE-2024-2321Incorrect Authorization in Multiple WSO2 Products Allows API Access via Refresh Token
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.
What to do
Maven has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Maven library | org.wso2.am:am-parent | Fix pending | GHSA-6qjp-wm6g-m32r | |
| Maven library | org.wso2.is:identity-server-parent | Fix pending | GHSA-6qjp-wm6g-m32r |
What the vendor says
As published in the CVE record by WSO2, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- WSO2 API Manager: affected: 4.0.0 to before 4.0.0.275, 4.1.0 to before 4.1.0.153, 4.2.0 to before 4.2.0.83; fixed in
4.0.0.275,4.1.0.153,4.2.0.83 - WSO2 Identity Server: affected: 5.11.0 to before 5.11.0.326, 6.0.0 to before 6.0.0.172, 6.1.0 to before 6.1.0.130; fixed in
5.11.0.326,6.0.0.172,6.1.0.130
Solution: Follow the instructions given on https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2024/WSO2-2024-3213/#solution https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2024/WSO2-2024-3213/#solution
Vendor advisories:
- https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2024/… (vendor-advisory)
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.