CVE-2024-45409CWE-347

The Ruby SAML library vulnerable to a SAML authentication bypass via Incorrect XPath selector

Critical · published September 10, 2024

CVSS v3.1
10.0
EPSS
11%
Percentile
95.8
In the wild
Unconfirmed
What it is

🚨 Unbelievably, the Ruby SAML library lets attackers log in as anyone on your system. A signed document is all they need—like a fake ID that nobody checks! 🔥 Think of it like a restaurant where the maitre d' lets anyone in just because they have a reservation slip. If they don’t check if the slip is valid, anyone can walk in and claim a table meant for someone else! This vulnerability is absolutely devastating! An attacker could forge SAML responses and gain unauthorized access, logging in as any user they choose. Imagine sensitive data being exposed or actions taken in your system under a user's identity—this is a nightmare waiting to happen!

Put simply

Think of it like a restaurant where the maitre d' lets anyone in just because they have a reservation slip. If they don’t check if the slip is valid, anyone can walk in and claim a table meant for someone else! The Ruby SAML library versions <= 12.2 and 1.13.0 to 1.16.0 fail to properly verify the signature of SAML Responses. This oversight allows unauthenticated attackers with access to any signed SAML document to create forged assertions, granting them access to the system.

What to do

This vulnerability is absolutely devastating! An attacker could forge SAML responses and gain unauthorized access, logging in as any user they choose. Imagine sensitive data being exposed or actions taken in your system under a user's identity—this is a nightmare waiting to happen! Update immediately to Ruby SAML version 1.17.0 or 1.12.3. Review your systems for any potential misuse of SAML assertions and ensure that signature verification is properly implemented in your application. Don't wait—this one requires urgent attention! You've got this! Just follow the steps, and you'll lock down your systems in no time! 🛡️

The record
Technical detail
CVSS v3.1
10.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.10684 · 95.8th percentile
Weakness
CWE-347 · Improper Verification of Cryptographic Signature
Published
2024-09-10T18:50Z
EPSS history
Timeline
  • 10 SEP 18:50Z
    The Ruby SAML library vulnerable to a SAML authentication bypass via Incorrect XPath selector
    cvelistv5