{"id":"CVE-2024-22234","state":"PUBLISHED","title":"CVE-2024-22234: Broken Access Control in Spring Security With Direct Use of isFullyAuthenticated","description":"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.\n\nSpecifically, an application is vulnerable if:\n\n  *  The application uses AuthenticationTrustResolver.isFullyAuthenticated(Authentication) directly and a null authentication parameter is passed to it resulting in an erroneous true return value.\n\n\nAn application is not vulnerable if any of the following is true:\n\n  *  The application does not use AuthenticationTrustResolver.isFullyAuthenticated(Authentication) directly.\n  *  The application does not pass null to AuthenticationTrustResolver.isFullyAuthenticated\n  *  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","publishedAt":"2024-02-20T07:02:50.873Z","updatedAt":"2025-02-13T17:33:37.468Z","severity":{"score":7.4,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"vmware"},"assigner":"vmware","products":["Spring Spring Security"],"affected":[{"vendor":"Spring","product":"Spring Security","defaultStatus":"unaffected","versions":[{"version":"6.1.x","status":"affected","lessThan":"6.1.7","versionType":"6.1.7"},{"version":"6.2.x","status":"affected","lessThan":"6.2.2","versionType":"6.2.2"}]}],"references":["https://spring.io/security/cve-2024-22234","https://security.netapp.com/advisory/ntap-20240315-0003/"],"weaknesses":["CWE-284"],"ingestedAt":"2026-10-29T20:06:59.846Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/22xxx/CVE-2024-22234.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-22234","state":"PUBLISHED","datePublished":"2024-02-20T07:02:50.873Z","dateUpdated":"2025-02-13T17:33:37.468Z","assignerShortName":"vmware","assignerOrgId":"dcf2e128-44bd-42ed-91e8-88f912c1401d","dateReserved":"2024-01-08T16:40:16.141Z"},"containers":{"cna":{"title":"CVE-2024-22234: Broken Access Control in Spring Security With Direct Use of isFullyAuthenticated","descriptions":[{"lang":"en","value":"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.\n\nSpecifically, an application is vulnerable if:\n\n  *  The application uses AuthenticationTrustResolver.isFullyAuthenticated(Authentication) directly and a null authentication parameter is passed to it resulting in an erroneous true return value.\n\n\nAn application is not vulnerable if any of the following is true:\n\n  *  The application does not use AuthenticationTrustResolver.isFullyAuthenticated(Authentication) directly.\n  *  The application does not pass null to AuthenticationTrustResolver.isFullyAuthenticated\n  *  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"}],"affected":[{"vendor":"Spring","product":"Spring Security","defaultStatus":"unaffected","versions":[{"version":"6.1.x","status":"affected","lessThan":"6.1.7","versionType":"6.1.7"},{"version":"6.2.x","status":"affected","lessThan":"6.2.2","versionType":"6.2.2"}]}],"references":[{"url":"https://spring.io/security/cve-2024-22234"},{"url":"https://security.netapp.com/advisory/ntap-20240315-0003/"}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.4,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"providerMetadata":{"shortName":"vmware","orgId":"dcf2e128-44bd-42ed-91e8-88f912c1401d","dateUpdated":"2024-03-15T11:06:18.496Z"},"datePublic":"2024-02-19T08:59:00.000Z","source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"vmware","product":"spring_security","defaultStatus":"unaffected","versions":[{"version":"6.1.0","status":"affected","lessThan":"6.1.7","versionType":"custom"}],"cpes":["cpe:2.3:a:vmware:spring_security:6.1.0:*:*:*:*:*:*:*"]},{"vendor":"vmware","product":"spring_security","defaultStatus":"unaffected","versions":[{"version":"6.2.0","status":"affected","lessThan":"6.2.2","versionType":"custom"}],"cpes":["cpe:2.3:a:vmware:spring_security:6.2.0:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-02-21T19:46:52.509563Z","id":"CVE-2024-22234","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-284","type":"CWE","lang":"en","description":"CWE-284 Improper Access Control"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-07-26T17:21:05.285Z"}},{"title":"CVE Program Container","references":[{"url":"https://spring.io/security/cve-2024-22234","tags":["x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20240315-0003/","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T22:43:33.656Z"}}]}}}