CVE-2022-41923

CRITICAL

Grails Spring Security Core Privilege Escalation via Endpoint Authorization Bypass

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2022-41923. PoCs published by grails.

AI-analyzed exploit summary This repository provides a workaround for CVE-2022-41923, a privilege management vulnerability in the Grails Spring Security Core (GSSC) plugin. It includes instructions and configuration snippets to mitigate the issue for versions 2.x, 3.x, 4.x, and 5.x of the plugin.

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.

Exploits (1)

nomisec WRITEUP 7 stars
by grails · poc
https://github.com/grails/GSSC-CVE-2022-41923

This repository provides a workaround for CVE-2022-41923, a privilege management vulnerability in the Grails Spring Security Core (GSSC) plugin. It includes instructions and configuration snippets to mitigate the issue for versions 2.x, 3.x, 4.x, and 5.x of the plugin.

Classification
Writeup 100%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: Grails Spring Security Core (GSSC) plugin versions 2.x, 3.x, 4.x, and 5.x
No auth needed
Prerequisites: Access to the application's configuration files · Knowledge of the GSSC plugin version and security configuration type
devstral-2 · analyzed Feb 16, 2026 Full analysis →

Scores

CVSS v3 9.1
EPSS 0.0169
EPSS Percentile 74.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact total

Details

CWE
CWE-269 CWE-863
Status published
Products (1)
grails/spring_security_core 1.0 - 3.3.2
Published Nov 23, 2022
Tracked Since Feb 18, 2026