Bug 2265172 (CVE-2024-22234) - CVE-2024-22234 spring-security: Broken Access Control in Spring Security With Direct Use of isFullyAuthenticated
Summary: CVE-2024-22234 spring-security: Broken Access Control in Spring Security With...
Keywords:
Status: NEW
Alias: CVE-2024-22234
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2265171
TreeView+ depends on / blocked
 
Reported: 2024-02-20 19:33 UTC by Patrick Del Bello
Modified: 2024-05-14 05:03 UTC (History)
85 users (show)

Fixed In Version: spring-security 6.1.7, spring-security 6.2.2
Doc Type: ---
Doc Text:
A vulnerability was found in Spring Security. This issue may lead to Broken Access Control, allowing a malicious user to impact the Confidentiality and Integrity of an application or server. This requires the application to use AuthenticationTrustResolver.isFullyAuthenticated(Authentication) directly and have a null authentication parameter passed to it, resulting in an erroneous true return value.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Patrick Del Bello 2024-02-20 19:33:56 UTC
In Spring Security, versions 6.1.x prior to 6.1.7 and versions 6.2.x prior to 6.2.2, an application is vulnerable to broken access control when it directly uses the AuthenticationTrustResolver.isFullyAuthenticated(Authentication) method.

Specifically, an application is vulnerable if:

  *  The application uses AuthenticationTrustResolver.isFullyAuthenticated(Authentication) directly and a null authentication parameter is passed to it resulting in an erroneous true return value.

An application is not vulnerable if any of the following is true:

  *  The application does not use AuthenticationTrustResolver.isFullyAuthenticated(Authentication) directly.
  *  The application does not pass null to AuthenticationTrustResolver.isFullyAuthenticated
  *  The application only uses isFullyAuthenticated via  Method Security https://docs.spring.io/spring-security/reference/servlet/authorization/method-security.html  or  HTTP Request Security https://docs.spring.io/spring-security/reference/servlet/authorization/authorize-http-requests.html

https://spring.io/security/cve-2024-22234


Note You need to log in before you can comment on or make changes to this bug.