CVE-2017-11430
omniauth-saml authentication bypass via incorrect XML canonicalization and DOM traversal
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, Ruby Advisory DB. Rated lower by GHSA (high).
Description
OmniAuth OmnitAuth-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 and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| rubygems::Ruby Advisory Database | omniauth-saml | >= 1.10.0 |
| rubygems::GitHub Security Advisory RubyGems | omniauth-saml | 1.10.0 |
References
- 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://nvd.nist.gov/vuln/detail/CVE-2017-11430
- https://www.kb.cert.org/vuls/id/475445