CVE-2022-41923

Published on: Not Yet Published

Last Modified on: 12/01/2022 03:33:00 PM UTC

CVE-2022-41923 - advisory for GHSA-frqg-vvxg-jqqh

Source: Mitre Source: NIST CVE.ORG Print: PDF PDF
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Certain versions of Spring Security Core from Grails contain the following vulnerability:

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.

  • CVE-2022-41923 has been assigned by URL Logo [email protected] to track the vulnerability - currently rated as CRITICAL severity.
  • Affected Vendor/Software: URL Logo grails - grails-spring-security-core version >= 5.0.0, < 5.1.1
  • Affected Vendor/Software: URL Logo grails - grails-spring-security-core version >= 4.0.0, < 4.0.5
  • Affected Vendor/Software: URL Logo grails - grails-spring-security-core version >= 3.0.0, < 3.3.2
  • Affected Vendor/Software: URL Logo grails - grails-spring-security-core version = 2.0.0

CVSS3 Score: 9.8 - CRITICAL

Attack
Vector
Attack
Complexity
Privileges
Required
User
Interaction
NETWORK LOW NONE NONE
Scope Confidentiality
Impact
Integrity
Impact
Availability
Impact
UNCHANGED HIGH HIGH HIGH

CVE References

Description Tags Link
GitHub - grails/GSSC-CVE-2022-41923 github.com
text/html
URL Logo MISC github.com/grails/GSSC-CVE-2022-41923
Grails Spring Security Core plugin: Improper Privilege Management vulnerability · Advisory · grails/grails-spring-security-core · GitHub github.com
text/html
URL Logo CONFIRM github.com/grails/grails-spring-security-core/security/advisories/GHSA-frqg-vvxg-jqqh
Grails Spring Security Core Plugin Improper Privilege Management Vulnerability grails.org
text/html
URL Logo MISC grails.org/blog/2022-11-22-ss-plugin-auth-cve.html

Known Affected Configurations (CPE V2.3)

Type Vendor Product Version Update Edition Language
ApplicationGrailsSpring Security CoreAllAllAllAll
  • cpe:2.3:a:grails:spring_security_core:*:*:*:*:*:grails:*:*:

Social Mentions

Source Title Posted (UTC)
Twitter Icon @Robo_Alerts Potentially Critical CVE Detected! CVE-2022-41923 Grails Spring Security Core plugin is vulnerable to privilege esc… twitter.com/i/web/status/1… 2022-11-23 19:56:00
Reddit Logo Icon /r/netcve CVE-2022-41923 2022-11-23 19:38:12
© CVE.report 2022 Twitter Nitter Twitter Viewer |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report