What problem does it solve?
SAML-based single sign-on often fails when a Service Provider verifies a signature over one element but trusts a different one, or skips verification entirely. This Skill provides a systematic methodology to identify and exploit these weaknesses during authorized penetration tests, proving whether an attacker can forge assertions and impersonate users.
Core Features & Use Cases
- Signature Verification Testing: Detect missing/stripped signature acceptance, partial signing, and signature algorithm downgrade issues.
- XML Signature Wrapping (XSW1-8): Cycle through all eight wrapping permutations with SAML Raider to inject forged assertions while the signed original passes verification.
- NameID Comment Injection: Exploit canonicalization versus parser mismatches using XML comments and CDATA splits to truncate identities to admin accounts.
- Use Case: During an authorized engagement against an enterprise SP, capture a valid SAMLResponse, apply the XSW3 template in SAML Raider with an admin NameID, and confirm the SP grants an admin session despite valid signature verification.
Quick Start
Capture a valid SAMLResponse from the target SSO login flow and use this Skill to test whether removing the signature or applying XSW wrapping lets you log in as a different user.