CVE-2022-41923
published 2022-11-23CVE-2022-41923: Grails Spring Security Core plugin is vulnerable to privilege escalation. The vulnerability allows an attacker access to one endpoint (i.e. the targeted…
PriorityP261critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
1.69%
74.2th percentile
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 =4.0.0 =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.
Affected
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| grails | grails-spring-security-core | — | — |
| grails | grails-spring-security-core | — | — |
| grails | grails-spring-security-core | — | — |
| grails | grails-spring-security-core | — | — |
| grails | spring_security_core | >= 1.0 < 3.3.2 | 3.3.2 |
| grails | spring_security_core | >= 4.0.0 < 4.0.5 | 4.0.5 |
| grails | spring_security_core | >= 5.0.0 < 5.1.1 | 5.1.1 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
No advisories linked to this vulnerability.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/grails/GSSC-CVE-2022-41923https://github.com/grails/grails-spring-security-core/security/advisories/GHSA-frqg-vvxg-jqqhhttps://grails.org/blog/2022-11-22-ss-plugin-auth-cve.htmlhttps://github.com/grails/GSSC-CVE-2022-41923https://github.com/grails/grails-spring-security-core/security/advisories/GHSA-frqg-vvxg-jqqhhttps://grails.org/blog/2022-11-22-ss-plugin-auth-cve.html
2022-11-23
Published