CVE-2024-22234
CVE-2024-22234:直接使用 isFullyAuthenticated 时 Spring Security 中的访问控制失效
- 已发布
- 2024年2月20日
- 已更新
- 2025年2月13日
- 分配 CNA
- vmware
- 观察到的证据
- 2026年8月4日
初级CVSS
nvd · CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N低 · 未来 30 天
- 百分位
- 50.6%
- 型号日期
- 2026年9月21日
EPSS 是统计估计,而不是确定性或影响衡量标准。将其与 CVSS、KEV 状态、暴露程度和您的环境相结合。
总结
在Spring Security中,6.1.x(早于6.1.7)和6.2.x(早于6.2.2)版本中,当应用程序直接使用`AuthenticationTrustResolver.isFullyAuthenticated(Authentication)`方法时,容易受到访问控制失效漏洞的影响。具体而言,如果满足以下条件,应用程序容易受到攻击:* 应用程序直接使用`AuthenticationTrustResolver.isFullyAuthenticated(Authentication)`,并且向其传递了`null`认证参数,导致错误地返回`true`值。如果满足以下任一条件,则应用程序不易受到攻击:* 应用程序不直接使用`AuthenticationTrustResolver.isFullyAuthenticated(Authentication)`。* 应用程序不向`AuthenticationTrustResolver.isFullyAuthenticated`传递`null`。* 应用程序仅通过方法安全(Method Security)https://docs.spring.io/spring-security/reference/servlet/authorization/method-security.html 或HTTP请求安全(HTTP Request Security)https://docs.spring.io/spring-security/reference/servlet/authorization/authorize-http-requests.html 使用`isFullyAuthenticated`。
来源
1CVE-2024-22243和CVE-2024-22234的环境
负责任的使用
仅在您拥有或有权测试的系统上使用漏洞信息。 Kitploit 链接到公共研究元数据,并且不存储漏洞代码或恶意负载。