The Fragile Lock: Novel Bypasses For SAML Authentication
Executive Summary
This post shows how to achieve a full authentication bypass in the Ruby and PHP SAML ecosystem by exploiting several parser-level inconsistencies: including attribute pollution, namespace confusion, and a new class of Void Canonicalization attacks. These techniques allow an attacker to completely bypass XML Signature validation while still presenting a perfectly valid SAML document to the application. You can get this paper as a print/download friendly PDF. You can also grab the slides from Black Hat . Here’s a demo of the attack on a vulnerable GitLab EE 17.8.4 instance: Service...