Vulnerability in Spring Security
CVE-2024-22234
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
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.4 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.007, 53.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Spring Security — versions 6.1.x, 6.2.x
- VMware Spring Security
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
Also mentioned in 4 other repositories (IES-Rafael-Alberti/Proyecto1_CybersecurityConsulting, nomi-sec/PoC-in-GitHub, SMCallan/SSDLC-Security-Throughout-Development, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- spring.io/security/cve-2024-22234 (Vendor Advisory)
- security.netapp.com/advisory/ntap-20240315-0003/ (Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.