Horizon Alert
Summary of the vulnerability and why it matters
A critical vulnerability has been identified in the Ruby SAML library, a component used for implementing secure user authentication through SAML. This issue allows an attacker to forge authentication responses, potentially enabling them to impersonate any user within affected systems without needing credentials. The primary concern is to confirm if our systems utilize this library and are exposed to this risk.
- Forged logins are possible via SAML.
- This impacts authentication and user access.
- Verify usage and assess exposure to this risk.
Attack Path
How an attacker could exploit the issue
An unauthenticated attacker could reach this vulnerability by obtaining a SAML response document that has been signed by the Identity Provider. The attacker would then forge a new SAML Response or Assertion with fabricated content, which, if processed by the vulnerable Ruby SAML library, could allow them to log in as any user.
- Requires access to signed SAML documents.
- Triggers when the library fails to verify the SAML signature.
- Enables attackers to impersonate arbitrary users.
Live Threat
Current exploitation, exposure, and threat context
When supported by the advisory, an unauthenticated attacker could forge SAML responses to impersonate any user within a vulnerable system. This could affect access to services and any data or functionality available to those users.
- User authentication and access.
- Forging SAML responses.
- Unauthorized user access.
Operational Fix
Recommended remediation, mitigation, and detection steps
Systems leveraging the Ruby SAML library, including those using `omniauth-saml` and GitLab, are vulnerable to unauthenticated attackers forging SAML assertions to impersonate users. Infrastructure, platform, and application owners must prioritize identifying all instances of the affected Ruby SAML versions. Confirming reachability and business criticality will inform risk-based remediation planning, which may involve vendor coordination for updates or temporary mitigation strategies.
- Application and platform teams own the issue.
- Verify SAML configurations and network exposure.
- Plan for vendor-coordinated remediation.