9.8
CRITICAL
CVE-2022-41923
Grails Spring Security Core Plugin Privilege Escalation Vulnerability
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.

INFO

Published Date :

Nov. 23, 2022, 7:15 p.m.

Last Modified :

July 10, 2023, 4:39 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2022-41923 has a 4 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2022-41923 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Grails spring_security_core
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-41923.

URL Resource
https://github.com/grails/GSSC-CVE-2022-41923 Mitigation Third Party Advisory
https://github.com/grails/grails-spring-security-core/security/advisories/GHSA-frqg-vvxg-jqqh Patch Third Party Advisory
https://grails.org/blog/2022-11-22-ss-plugin-auth-cve.html Patch Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 1 year, 7 months ago
0 stars 2 fork 2 watcher
Born at : April 8, 2023, 6:19 a.m. This repo has been linked 923 different CVEs too.

None

Updated: 9 months ago
20 stars 3 fork 3 watcher
Born at : Feb. 14, 2023, 6:10 p.m. This repo has been linked 921 different CVEs too.

None

Groovy

Updated: 7 months ago
7 stars 0 fork 0 watcher
Born at : Nov. 22, 2022, 5:24 p.m. This repo has been linked 1 different CVEs too.

Repository of Bug-Bounty Writeups

bugbounty fuzzing penetration-testing security-tools

Updated: 2 months, 1 week ago
227 stars 31 fork 31 watcher
Born at : Nov. 6, 2020, 8:24 a.m. This repo has been linked 13 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-41923 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-41923 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Reanalysis by [email protected]

    Jul. 10, 2023

    Action Type Old Value New Value
    Removed CWE NIST CWE-269
    Added CWE NIST CWE-863
  • Initial Analysis by [email protected]

    Dec. 01, 2022

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/grails/grails-spring-security-core/security/advisories/GHSA-frqg-vvxg-jqqh No Types Assigned https://github.com/grails/grails-spring-security-core/security/advisories/GHSA-frqg-vvxg-jqqh Patch, Third Party Advisory
    Changed Reference Type https://github.com/grails/GSSC-CVE-2022-41923 No Types Assigned https://github.com/grails/GSSC-CVE-2022-41923 Mitigation, Third Party Advisory
    Changed Reference Type https://grails.org/blog/2022-11-22-ss-plugin-auth-cve.html No Types Assigned https://grails.org/blog/2022-11-22-ss-plugin-auth-cve.html Patch, Vendor Advisory
    Added CWE NIST CWE-269
    Added CPE Configuration OR *cpe:2.3:a:grails:spring_security_core:*:*:*:*:*:grails:*:* versions from (including) 1.0 up to (excluding) 3.3.2 *cpe:2.3:a:grails:spring_security_core:*:*:*:*:*:grails:*:* versions from (including) 4.0.0 up to (excluding) 4.0.5 *cpe:2.3:a:grails:spring_security_core:*:*:*:*:*:grails:*:* versions from (including) 5.0.0 up to (excluding) 5.1.1
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-41923 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-41923 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.30 }} 0.04%

score

0.69915

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability