Lucene search

K
cve[email protected]CVE-2022-41923
HistoryNov 23, 2022 - 7:15 p.m.

CVE-2022-41923

2022-11-2319:15:12
CWE-863
CWE-269
web.nvd.nist.gov
45
5
grails
spring
security
core
plugin
vulnerability
privilege escalation
patch
update
workaround
nvd

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

9.5 High

AI Score

Confidence

High

0.002 Low

EPSS

Percentile

60.8%

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.

Affected configurations

Vulners
NVD
Node
grailsspring_security_coreRange5.0.05.1.1
OR
grailsspring_security_coreRange4.0.04.0.5
OR
grailsspring_security_coreRange3.0.03.3.2
OR
grailsspring_security_coreMatch2.0.0
VendorProductVersionCPE
grailsspring_security_core*cpe:2.3:a:grails:spring_security_core:*:*:*:*:*:*:*:*
grailsspring_security_core*cpe:2.3:a:grails:spring_security_core:*:*:*:*:*:*:*:*
grailsspring_security_core*cpe:2.3:a:grails:spring_security_core:*:*:*:*:*:*:*:*
grailsspring_security_core2.0.0cpe:2.3:a:grails:spring_security_core:2.0.0:*:*:*:*:*:*:*

CNA Affected

[
  {
    "vendor": "grails",
    "product": "grails-spring-security-core",
    "versions": [
      {
        "version": ">= 5.0.0, < 5.1.1",
        "status": "affected"
      },
      {
        "version": ">= 4.0.0, < 4.0.5",
        "status": "affected"
      },
      {
        "version": ">= 3.0.0, < 3.3.2",
        "status": "affected"
      },
      {
        "version": "= 2.0.0",
        "status": "affected"
      }
    ]
  }
]

Social References

More

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

9.5 High

AI Score

Confidence

High

0.002 Low

EPSS

Percentile

60.8%

Related for CVE-2022-41923