AI Security AI安全 7h ago Updated 2h ago 更新于 2小时前 45

Attackers Target miniOrange SAML Flaws That Can Grant WordPress Admin Access 攻击者利用 miniOrange SAML 漏洞获取 WordPress 管理员权限

Two critical unauthenticated vulnerabilities in the Xecurify miniOrange SAML 2.0 Single Sign On WordPress plugin allow attackers to bypass authentication and escalate privileges to admin access CVE-2026-61981 (CVSS 9.8) exploits a loose boolean check on PHP's `openssl_verify()` return value, treating error code -1 as a valid signature CVE-2026-61979 (CVSS 8.1) enables signature algorithm confusion for unauthenticated privilege escalation Active exploitation is underway via opportunistic scanning miniOrange SAML 2.0 Single Sign On插件存在两个严重未认证漏洞,攻击者可绕过认证以任意用户(含管理员)身份登录WordPress CVE-2026-15981(CVSS 9.8)源于PHP openssl_verify()返回的-1错误值被宽松布尔检查误判为有效签名 CVE-2026-61979(CVSS 8.1)通过签名算法混淆实现未认证权限提升 攻击活动呈现机会性扫描特征,PoC代码已公开,可链式利用获取完整管理员控制权 标准版用户需更新至17.0.5(修复CVE-2026-61979)和17.0.6(修复CVE-2026-15981)

65
Hot 热度
70
Quality 质量
55
Impact 影响力

Analysis 深度分析

TL;DR

  • Two critical unauthenticated vulnerabilities in the Xecurify miniOrange SAML 2.0 Single Sign On WordPress plugin allow attackers to bypass authentication and escalate privileges to admin access
  • CVE-2026-61981 (CVSS 9.8) exploits a loose boolean check on PHP's openssl_verify() return value, treating error code -1 as a valid signature
  • CVE-2026-61979 (CVSS 8.1) enables signature algorithm confusion for unauthenticated privilege escalation
  • Active exploitation is underway via opportunistic scanning from multiple IP addresses, with public PoC code available for chaining both flaws
  • Fixes are available in plugin versions 17.0.5 and 17.0.6 for the Standard edition

Why It Matters

This vulnerability demonstrates how a seemingly minor PHP type-coercion bug in cryptographic verification can lead to complete authentication bypass with admin-level access, posing an immediate threat to thousands of WordPress sites relying on SAML-based SSO. The active exploitation and publicly available PoC make this a critical, time-sensitive issue for any organization running the affected plugin version.

Technical Details

  • CVE-2026-61981 (CVSS 9.8): The mo_saml_validate_signature() function performs a loose boolean check on the raw tri-state integer returned by PHP's openssl_verify(). Since PHP evaluates -1 (error return) as truthy, a deliberately malformed signature triggering an OpenSSL error is incorrectly treated as a valid signature, allowing unauthenticated login as any user including administrators via wp_set_auth_cookie()
  • CVE-2026-61979 (CVSS 8.1): Signature algorithm confusion vulnerability enabling unauthenticated privilege escalation, fixed in version 17.0.5
  • Exploit Chain: Attackers can craft a SAMLResponse with an attacker-controlled NameID and a malformed signature that triggers an OpenSSL processing error, bypassing verification entirely and obtaining admin session cookies
  • Discovery: DigitalOcean security team identified the vulnerabilities after observing anomalous WordPress administrator session attempts from outside their trusted network; the attacker obtained an admin session cookie but was blocked by network restrictions on admin panel operations
  • Scanning IPs: 207.211.214.41, 79.127.224.14, 102.91.71.83, 162.243.116.148, 84.201.6.54, 64.225.25.188

Industry Insight

  • WordPress site administrators using the miniOrange SAML plugin must immediately update to version 17.0.6 (Standard edition) or later, as active exploitation with public PoC code is already underway in opportunistic scanning campaigns
  • This case reinforces the critical importance of strict type checking in cryptographic verification functions; developers should always explicitly validate openssl_verify() return values against 1 (true) rather than relying on loose boolean evaluation
  • Organizations should implement network-level restrictions on WordPress admin panels behind trusted IP ranges as a defense-in-depth measure, as demonstrated by DigitalOcean's ability to detect and contain the attack despite the authentication bypass

TL;DR

  • miniOrange SAML 2.0 Single Sign On插件存在两个严重未认证漏洞,攻击者可绕过认证以任意用户(含管理员)身份登录WordPress
  • CVE-2026-15981(CVSS 9.8)源于PHP openssl_verify()返回的-1错误值被宽松布尔检查误判为有效签名
  • CVE-2026-61979(CVSS 8.1)通过签名算法混淆实现未认证权限提升
  • 攻击活动呈现机会性扫描特征,PoC代码已公开,可链式利用获取完整管理员控制权
  • 标准版用户需更新至17.0.5(修复CVE-2026-61979)和17.0.6(修复CVE-2026-15981)

为什么值得看

该漏洞揭示了SAML认证实现中常见的签名验证缺陷,对依赖第三方插件的WordPress生态具有广泛影响。攻击者无需任何凭证即可获取管理员权限,且已有公开PoC,威胁等级极高。

技术解析

  • 漏洞机制mo_saml_validate_signature()函数直接使用PHP的openssl_verify()返回值进行布尔判断,当该函数返回-1(表示OpenSSL处理错误)时,被误判为真值,导致签名验证被绕过
  • 攻击路径:攻击者构造包含恶意NameID和故意畸形签名的SAMLResponse,触发OpenSSL错误处理流程,使插件将无效签名视为有效,最终调用wp_set_auth_cookie()建立管理员会话
  • 漏洞组合:CVE-2026-15981实现认证绕过,CVE-2026-61979实现权限提升,两者可链式利用获取完整管理员控制权
  • 发现过程:DigitalOcean安全团队在监控异常管理员会话时发现问题,攻击者已成功获取会话Cookie但因网络访问限制未能进一步操作
  • 扫描特征:来自多个IP地址的扫描活动显示为机会性探测,攻击者未针对特定版本或Edition进行筛选

行业启示

  • SAML/OAuth等认证协议的实现必须严格验证签名返回值,避免依赖语言层面的宽松类型转换,建议采用显式比较(如=== 1)而非布尔隐式转换
  • WordPress插件生态的安全审计应重点关注第三方认证组件,尤其是涉及签名验证、算法选择等关键安全路径的代码
  • 企业应建立插件版本监控机制,及时响应CVE披露,并对生产环境实施网络层访问控制(如管理面板IP白名单),即使认证被绕过也能增加攻击难度

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

Security 安全