AI Security AI安全 11d ago Updated 11d ago 更新于 11天前 44

Attackers Exploit SharePoint Authentication Bypass After Public PoC Release 攻击者在公开PoC发布后利用SharePoint认证绕过漏洞

CVE-2026-55040 is a critical (CVSS 9.1) SharePoint authentication bypass vulnerability patched in Microsoft's July 2026 Patch Tuesday The flaw chains four weaknesses in the JWT token validation pipeline, allowing unauthenticated attackers to forge valid JWTs and impersonate any SharePoint user or administrator Threat actors are actively exploiting the vulnerability using a Python-based PoC released by Rapid7, with 12 recorded attempts across five countries since July 19, 2026 Exploitation enable Microsoft SharePoint存在关键认证绕过漏洞CVE-2026-55040(CVSS 9.1),攻击者可伪造JWT令牌冒充任意用户执行未授权操作 Rapid7已发布Python PoC代码,威胁行为者正积极利用该漏洞进行域控制器查询、用户枚举和权限提升 漏洞源于JWT令牌验证管道中的四个缺陷链,涉及SPJsonWebSecurityTokenHandlerV2和SPJsonWebSecurityBaseTokenHandlerV2类 微软已在2026年7月补丁星期二更新中修复此漏洞,建议用户立即更新实例 自2026年7月19日以来已记录12次利用尝试,PoC发布后利用活动显著增加

68
Hot 热度
62
Quality 质量
58
Impact 影响力

Analysis 深度分析

TL;DR

  • CVE-2026-55040 is a critical (CVSS 9.1) SharePoint authentication bypass vulnerability patched in Microsoft's July 2026 Patch Tuesday
  • The flaw chains four weaknesses in the JWT token validation pipeline, allowing unauthenticated attackers to forge valid JWTs and impersonate any SharePoint user or administrator
  • Threat actors are actively exploiting the vulnerability using a Python-based PoC released by Rapid7, with 12 recorded attempts across five countries since July 19, 2026
  • Exploitation enables file disclosure and data modification but does not impact system availability
  • Microsoft advises all SharePoint users to apply the latest patches immediately given the spike in real-world exploitation

Why It Matters

This vulnerability demonstrates the rapid real-world exploitation cycle of newly disclosed flaws, as attackers leveraged a public PoC within weeks of its release. For AI and enterprise practitioners, it underscores the critical importance of timely patch management and the risks posed by JWT validation weaknesses in authentication pipelines. The incident also highlights how service-to-service token handling can become a single point of failure when multiple validation checks are bypassed in sequence.

Technical Details

  • CVE-2026-55040 affects two key classes: SPJsonWebSecurityTokenHandlerV2 and SPJsonWebSecurityBaseTokenHandlerV2, which handle Bearer service-to-service (S2S) token parsing and validation
  • The exploit chains four weaknesses: (1) "alg: none" in the outer JWT header skips signature verification, (2) the x5t header contains SharePoint's own STS certificate thumbprint to resolve a signing key without verification, (3) the resolved certificate is absent from TrustedSecurityTokenServices yet the issuer is still accepted, and (4) the actor token's signature is a non-empty but never-verified value (e.g., "AAAA")
  • Rapid7's Python-based PoC uses the forged JWT to query the target's domain controller, enumerate users by SID, and auto-locate administrator SIDs for privilege escalation
  • Microsoft's advisory confirms the vulnerability allows impersonation, file disclosure, and data modification, but explicitly notes that system availability is not impacted
  • Telemetry from KEVIntel recorded 12 exploitation attempts from 8 unique IPs across Hong Kong, Japan, the Netherlands, Taiwan, and the U.S., with 8 of those attempts occurring on August 12-13, 2026, shortly after the PoC release

Industry Insight

  • Organizations should prioritize applying the July 2026 Patch Tuesday updates immediately, especially for any SharePoint instances exposed to the internet or internal networks with untrusted users
  • Security teams should audit JWT validation pipelines across their Microsoft 365 and SharePoint deployments, focusing on token handling classes and certificate trust configurations, to identify similar weaknesses
  • The rapid transition from PoC publication to active exploitation reinforces the need for automated vulnerability management and continuous monitoring; consider deploying detection rules for anomalous JWT patterns and unauthorized authentication bypass attempts in SIEM environments

TL;DR

  • Microsoft SharePoint存在关键认证绕过漏洞CVE-2026-55040(CVSS 9.1),攻击者可伪造JWT令牌冒充任意用户执行未授权操作
  • Rapid7已发布Python PoC代码,威胁行为者正积极利用该漏洞进行域控制器查询、用户枚举和权限提升
  • 漏洞源于JWT令牌验证管道中的四个缺陷链,涉及SPJsonWebSecurityTokenHandlerV2和SPJsonWebSecurityBaseTokenHandlerV2类
  • 微软已在2026年7月补丁星期二更新中修复此漏洞,建议用户立即更新实例
  • 自2026年7月19日以来已记录12次利用尝试,PoC发布后利用活动显著增加

为什么值得看

本文揭示了从漏洞披露到实际利用的快速转化过程,对关注企业身份认证安全和JWT验证机制的AI从业者具有重要参考价值。

技术解析

CVE-2026-55040通过链式利用四个缺陷实现JWT伪造:攻击者发送"alg: none"的JWT令牌绕过外层签名验证,利用SharePoint STS证书指纹解析签名密钥,绕过受信任安全令牌服务验证,并使用非空但永不验证的签名值完成伪造。

Rapid7开发的Python PoC利用伪造的JWT令牌查询目标域控制器,通过SID枚举用户并自动定位站点管理员账户,展示了完整的攻击链。

漏洞核心位于处理Bearer服务到服务(S2S)令牌的两个类:SPJsonWebSecurityTokenHandlerV2和SPJsonWebSecurityBaseTokenHandlerV2,这两个类负责令牌的解析和验证逻辑。

行业启示

PoC代码的公开显著加速了漏洞利用活动,从7月的12次尝试激增到8月的8次,凸显了"零日窗口期"缩短的趋势,企业需建立更快的响应机制。

JWT验证缺陷已成为企业身份认证系统的常见攻击面,建议安全团队加强对令牌验证管道的审计,特别是签名验证、证书信任链和颁发者验证等关键环节。

企业应立即更新SharePoint实例至最新补丁版本,并建立持续监控机制,及时发现针对认证系统的异常访问行为。

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

Security 安全 Research 科学研究