CVE-2017-11428: Authentication bypass via incorrect DOM traversal and canonicalization
(updated )
Some XML DOM traversal and canonicalization APIs may be inconsistent in handling of comments within XML nodes. Incorrect use of these APIs by some SAML libraries results in incorrect parsing of the inner text of XML nodes such that any inner text after the comment is lost prior to cryptographically signing the SAML message. Text after the comment therefore has no impact on the signature on the SAML message. A remote attacker can modify SAML content for a SAML service provider without invalidating the cryptographic signature, which may allow attackers to bypass primary authentication for the affected SAML service provider
References
- cwe.mitre.org/data/definitions/287.html
- duo.com/blog/duo-finds-saml-vulnerabilities-affecting-multiple-implementations
- github.com/onelogin/ruby-saml/commit/048a544730930f86e46804387a6b6fad50d8176f
- github.com/onelogin/ruby-saml/releases/tag/v1.6.2
- shibboleth.net/community/advisories/secadv_20180112.txt
- www.kb.cert.org/vuls/id/475445
Detect and mitigate CVE-2017-11428 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →