CVE-2022-41923
Last modified
CVE-2022-41923 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. Grails Spring Security Core plugin is vulnerable to privilege escalation. The vulnerability allows an attacker access to one endpoint (i.e. EPSS estimates a 1.69% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Grails | Spring Security Core | >= 1.0, < 3.3.2 |
| Grails | Spring Security Core | >= 4.0.0, < 4.0.5 |
| Grails | Spring Security Core | >= 5.0.0, < 5.1.1 |
References
- https://github.com/grails/GSSC-CVE-2022-41923Mitigation, Third Party Advisory
- https://github.com/grails/grails-spring-security-core/security/advisories/GHSA-frqg-vvxg-jqqhPatch, Third Party Advisory
- https://grails.org/blog/2022-11-22-ss-plugin-auth-cve.htmlPatch, Vendor Advisory
- https://github.com/grails/GSSC-CVE-2022-41923Mitigation, Third Party Advisory
- https://github.com/grails/grails-spring-security-core/security/advisories/GHSA-frqg-vvxg-jqqhPatch, Third Party Advisory
- https://grails.org/blog/2022-11-22-ss-plugin-auth-cve.htmlPatch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-41923?
How severe is CVE-2022-41923?
How do I fix CVE-2022-41923?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-41918OpenSearch is a community-driven, open source fork of Elasti…6.3
- CVE-2022-41919Fastify is a web framework with minimal overhead and plugin …8.8
- CVE-2022-4192Use after free in Live Caption in Google Chrome prior to 108…8.8
- CVE-2022-41920Lancet is a general utility library for the go programming l…8.8
- CVE-2022-41921Discourse is an open-source discussion platform. Prior to ve…4.3
- CVE-2022-41922`yiisoft/yii` before version 1.1.27 are vulnerable to Remote…9.8
- CVE-2022-41924A vulnerability identified in the Tailscale Windows client a…9.6
- CVE-2022-41925A vulnerability identified in the Tailscale client allows a …8.8
- CVE-2022-41926Nextcould talk android is the android OS implementation of t…5.5
- CVE-2022-41927XWiki Platform is vulnerable to Cross-Site Request Forgery (…7.4
- CVE-2022-41928XWiki Platform vulnerable to Improper Neutralization of Dire…8.8
- CVE-2022-41929org.xwiki.platform:xwiki-platform-oldcore is missing authori…4.9
Are you affected by CVE-2022-41923?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
