جزئیات آسیبپذیری
CVE-2025-25291
SAML-Toolkits ruby-saml
ruby-saml vulnerable to SAML authentication bypass due to DOCTYPE handling (parser differential)
CVSS 4.0
9.3بحرانی
شرح رسمی (انگلیسی)
ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby. An authentication bypass vulnerability was found in ruby-saml prior to versions 1.12.4 and 1.18.0 due to a parser differential. ReXML and Nokogiri parse XML differently; the parsers can generate entirely different document structures from the same XML input. That allows an attacker to be able to execute a Signature Wrapping attack. This issue may lead to authentication bypass. Versions 1.12.4 and 1.18.0 fix the issue.
امتیازهای CVSS
| امتیاز | نسخه | منبع | بردار |
|---|---|---|---|
| 9.3بحرانی | 4.0 | CVEProject cvelistV5 (CNA) (GitHub_M) | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
محصولات آسیبپذیر
| فروشنده | محصول | نسخهها | منبع |
|---|---|---|---|
| SAML-Toolkits | ruby-saml | < 1.12.4 | CVEProject cvelistV5 (CNA) |
| SAML-Toolkits | ruby-saml | >= 1.13.0, < 1.18.0 | CVEProject cvelistV5 (CNA) |
منابع و راهنماها
۱۳- https://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-4vc4-m8qh-g8jm x_refsource_CONFIRM
- https://github.com/omniauth/omniauth-saml/security/advisories/GHSA-hw46-3hmr-x9xv x_refsource_MISC
- https://github.com/SAML-Toolkits/ruby-saml/commit/e76c5b36bac40aedbf1ba7ffaaf495be63328cd9 x_refsource_MISC
- https://github.com/SAML-Toolkits/ruby-saml/commit/e9c1cdbd0f9afa467b585de279db0cbd0fb8ae97 x_refsource_MISC
- https://about.gitlab.com/releases/2025/03/12/patch-release-gitlab-17-9-2-released x_refsource_MISC
- https://github.blog/security/sign-in-as-anyone-bypassing-saml-sso-authentication-with-parser-differentials x_refsource_MISC
- https://github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.12.4 x_refsource_MISC
- https://github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.18.0 x_refsource_MISC
- https://portswigger.net/research/saml-roulette-the-hacker-always-wins x_refsource_MISC
- https://securitylab.github.com/advisories/GHSL-2024-329_GHSL-2024-330_ruby-saml x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20250314-0010/
- https://news.ycombinator.com/item?id=43374519
- https://lists.debian.org/debian-lts-announce/2025/04/msg00011.html
هشدار CVEهای بعدی این محصولمحصول را دنبال کنید تا آسیبپذیریهای تازه را در تلگرام بگیرید.
اطلاعات
- تاریخ انتشار
- ۱۴۰۳/۱۲/۲۲
- آخرین بهروزرسانی
- ۱۴۰۴/۰۸/۱۲
- وضعیت
- منتشرشده
- صادرکننده (CNA)
- GitHub_M
پیشبینی بهرهبرداری (EPSS)
۲۰٫۹۶٪
احتمال بهرهبرداری در ۳۰ روز
۹۷٫۵٪
صدک (نسبت به همهی CVEها)
ارزیابی SSVC (CISA)
- قابل خودکارسازی
- بله
- وضعیت بهرهبرداری
- اثبات مفهوم
- اثر فنی
- کامل
ضعفها (CWE)
- CWE-347Improper Verification of Cryptographic Signature
- CWE-436Interpretation Conflict