Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-45409— The Ruby SAML library vulnerable to a SAML authentication bypass via Incorrect XPath selector

Quick assessment

Affected
SAML-Toolkits ruby-saml
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Ruby SAML是SAML-Toolkits开源的一个 SAML 授权客户端的实现。 Ruby SAML存在数据伪造问题漏洞,该漏洞源于Ruby-SAML无法正确验证SAML响应的签名,从而允许攻击者以任意用户身份登录易受攻击的系统。

CVSS 10.0 · Critical EPSS 10.68% · P96

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-45409

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
The Ruby SAML library vulnerable to a SAML authentication bypass via Incorrect XPath selector
Source: CVE Program / CVE List V5
Vulnerability Description
The Ruby SAML library is for implementing the client side of a SAML authorization. Ruby-SAML in <= 12.2 and 1.13.0 <= 1.16.0 does not properly verify the signature of the SAML Response. An unauthenticated attacker with access to any signed saml document (by the IdP) can thus forge a SAML Response/Assertion with arbitrary contents. This would allow the attacker to log in as arbitrary user within the vulnerable system. This vulnerability is fixed in 1.17.0 and 1.12.3.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
密码学签名的验证不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
Ruby SAML 数据伪造问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Ruby SAML是SAML-Toolkits开源的一个 SAML 授权客户端的实现。 Ruby SAML存在数据伪造问题漏洞,该漏洞源于Ruby-SAML无法正确验证SAML响应的签名,从而允许攻击者以任意用户身份登录易受攻击的系统。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Shenlong Deep Dive — AI Deep Analysis

10-question deep dive: root cause, exploitation, mitigation, urgency. Read summary free, full version requires login.

Affected Products

Vendor Product Affected Versions CPE Subscribe
SAML-Toolkits ruby-saml < 1.12.3 -

II. Public POCs for CVE-2024-45409

# POC Description Source Link Shenlong Link
1 Ruby-SAML / GitLab Authentication Bypass (CVE-2024-45409) exploit https://github.com/synacktiv/CVE-2024-45409 POC Details
2 The Ruby SAML library is for implementing the client side of a SAML authorization. Ruby-SAML in <= 12.2 and 1.13.0 <= 1.16.0 does not properly verify the signature of the SAML Response. https://github.com/projectdiscovery/nuclei-templates/blob/main/code/cves/2024/CVE-2024-45409.yaml POC Details
AI-Generated POC Premium
Qwen3.6-35B-A3B · 13871 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2024-45409

请登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2024-45409

No comments yet


Leave a comment