CVE-2022-41923

CVSS V2 None CVSS V3 None
Description
Grails Spring Security Core plugin is vulnerable to privilege escalation. The vulnerability allows an attacker access to one endpoint (i.e. the targeted endpoint) using the authorization requirements of a different endpoint (i.e. the donor endpoint). In some Grails framework applications, access to the targeted endpoint will be granted based on meeting the authorization requirements of the donor endpoint, which can result in a privilege escalation attack. This vulnerability has been patched in grails-spring-security-core versions 3.3.2, 4.0.5 and 5.1.1. Impacted Applications: Grails Spring Security Core plugin versions: 1.x 2.x >=3.0.0 <3.3.2 >=4.0.0 <4.0.5 >=5.0.0 <5.1.1 We strongly suggest that all Grails framework applications using the Grails Spring Security Core plugin be updated to a patched release of the plugin. Workarounds: Users should create a subclass extending one of the following classes from the `grails.plugin.springsecurity.web.access.intercept` package, depending on their security configuration: * `AnnotationFilterInvocationDefinition` * `InterceptUrlMapFilterInvocationDefinition` * `RequestmapFilterInvocationDefinition` In each case, the subclass should override the `calculateUri` method like so: ``` @Override protected String calculateUri(HttpServletRequest request) { UrlPathHelper.defaultInstance.getRequestUri(request) } ``` This should be considered a temporary measure, as the patched versions of grails-spring-security-core deprecates the `calculateUri` method. Once upgraded to a patched version of the plugin, this workaround is no longer needed. The workaround is especially important for version 2.x, as no patch is available version 2.x of the GSSC plugin.
Overview
  • CVE ID
  • CVE-2022-41923
  • Assigner
  • security-advisories@github.com
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2022-11-23T19:15:12
  • Last Modified Date
  • 2022-12-01T15:33:33
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:grails:spring_security_core:*:*:*:*:*:grails:*:* 1 OR 1.0 3.3.2
cpe:2.3:a:grails:spring_security_core:*:*:*:*:*:grails:*:* 1 OR 4.0.0 4.0.5
cpe:2.3:a:grails:spring_security_core:*:*:*:*:*:grails:*:* 1 OR 5.0.0 5.1.1
History
Created Old Value New Value Data Type Notes
2022-11-23 20:00:17 Added to TrackCVE
2022-12-07 18:02:16 2022-11-23T19:15Z 2022-11-23T19:15:12 CVE Published Date updated
2022-12-07 18:02:16 2022-12-01T15:33:33 CVE Modified Date updated
2022-12-07 18:02:16 Analyzed Vulnerability Status updated
2022-12-07 18:02:16 CWE-269 Weakness Enumeration new
2022-12-07 18:02:17 CPE Information updated