Skip to content

Instantly share code, notes, and snippets.

@aliaspooryorik
Created March 21, 2018 11:48
Show Gist options
  • Save aliaspooryorik/5c72724d5c3614f5e31d10d47dd3e52f to your computer and use it in GitHub Desktop.
Save aliaspooryorik/5c72724d5c3614f5e31d10d47dd3e52f to your computer and use it in GitHub Desktop.
Evil SAML test
<SAMLResponse>
<Issuer>https://idp.com/</Issuer>
<Assertion ID="_id1234">
<Subject>
<NameID>user@user.com<!---->.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