Skip to content

Instantly share code, notes, and snippets.

@aliaspooryorik
Created March 21, 2018 14:11
Show Gist options
  • Save aliaspooryorik/3f26b407cd3acbda6019d99e1a98fbb7 to your computer and use it in GitHub Desktop.
Save aliaspooryorik/3f26b407cd3acbda6019d99e1a98fbb7 to your computer and use it in GitHub Desktop.
EvilSAMLTest2.xml
<SAMLResponse>
<Issuer>https://idp.com/</Issuer>
<Assertion ID="_id1234">
<Subject>
<NameID>[email protected]<!--hack-->.evil.com</NameID>
</Subject>
</Assertion>
<Signature>
<SignedInfo>
<CanonicalizationMethod Algorithm="xml-c14n11"/>
<Reference URI="#_id1234"/>
</SignedInfo>
<SignatureValue>
some base64 data that represents the signature of the assertion
</SignatureValue>
</Signature>
</SAMLResponse>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment