HighGHSA-94hm-8q65-rmxmCVE-2017-11430

OmniAuth-SAML authentication bypass via incorrect XML canonicalization and DOM traversal

Published 5 Jul 2019 · Updated 16 Feb 2024

Is your project on an affected omniauth-saml?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
<1.10.0
Fixed in
1.10.0
Update to the fixed version for your release line, for example:bundle update --conservative omniauth-saml # Gemfile: '>= 1.10.0'

Details

OmniAuth OmniAuth-SAML 1.9.0 and earlier may incorrectly utilize the results of XML DOM traversal and canonicalization APIs in such a way that an attacker may be able to manipulate the SAML data without invalidating the cryptographic signature, allowing the attack to potentially bypass authentication to SAML service providers.

Is GHSA-94hm-8q65-rmxm in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected omniauth-saml, and gives you the command that fixes it.

More advisories for omniauth-saml

  • CriticalGHSA-hw46-3hmr-x9xvomniauth-saml has dependency on ruby-saml version with Signature Wrapping Attack issue · 12 Mar 2025
  • CriticalGHSA-cvp8-5r8g-fhvqomniauth-saml vulnerable to Improper Verification of Cryptographic Signature · 11 Sept 2024
omniauth-saml security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.