GitHub Advisory Database
GHSA-94hm-8q65-rmxm
OmniAuth-SAML authentication bypass via incorrect XML canonicalization and DOM traversal
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| RubyGems | omniauth-saml | All versions before 1.10.0 (fixed in 1.10.0) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-11430
- https://duo.com/blog/duo-finds-saml-vulnerabilities-affecting-multiple-implementations
- https://github.com/omniauth/omniauth-saml
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/omniauth-saml/CVE-2017-11430.yml
- https://www.kb.cert.org/vuls/id/475445