Description Preview
Overview
This vulnerability affects Keycloak's authorization mechanism. When administrators modify a user's role mappings to remove access to certain resources, the changes may not be properly enforced. Even after the previous access token expires and a new one is issued, the user might still retain access to resources they should no longer be able to access. This creates a security risk where users could maintain unauthorized access to sensitive information or functionality despite administrative attempts to revoke their privileges.
Remediation
Users should upgrade to Keycloak version 13.0.0 or later which contains fixes for this vulnerability. If upgrading is not immediately possible, administrators should be aware that role mapping changes may not be immediately effective and should implement additional security controls to protect sensitive resources. After changing role mappings, administrators may need to manually invalidate all active sessions for the affected user to ensure the changes take effect properly.
References
- Red Hat Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1765129
- Keycloak Issue Tracker: https://issues.redhat.com/browse/KEYCLOAK-16550
- CWE-863: Incorrect Authorization: https://cwe.mitre.org/data/definitions/863.html
Industry ExposureMost to leastThis section illustrates the prevalence of a specific Common Vulnerabilities and Exposures (CVE) across various industries based on customer reports. The ranking displays industries from the most to least affected by this particular vulnerability, offering valuable insight into where this CVE has been most frequently observed. This information can help organizations within these sectors prioritize their security efforts, understand their relative risk exposure compared to their peers, and focus remediation strategies where they are most needed. By understanding the industry-specific impact, organizations can make more informed decisions regarding patching, resource allocation, and overall risk management related to this CVE.
- Health Care & Social AssistanceHealth Care & Social Assistance
- ManufacturingManufacturing
- Accommodation & Food ServicesAccommodation & Food Services
- Administrative, Support, Waste Management & Remediation ServicesAdministrative, Support, Waste Management & Remediation Services
- Agriculture, Forestry Fishing & HuntingAgriculture, Forestry Fishing & Hunting
- Arts, Entertainment & RecreationArts, Entertainment & Recreation
- ConstructionConstruction
- Educational ServicesEducational Services
- Finance and InsuranceFinance and Insurance
- InformationInformation
- Management of Companies & EnterprisesManagement of Companies & Enterprises
- MiningMining
- Other Services (except Public Administration)Other Services (except Public Administration)
- Professional, Scientific, & Technical ServicesProfessional, Scientific, & Technical Services
- Public AdministrationPublic Administration
- Real Estate Rental & LeasingReal Estate Rental & Leasing
- Retail TradeRetail Trade
- Transportation & WarehousingTransportation & Warehousing
- UtilitiesUtilities
- Wholesale TradeWholesale Trade