Skip to content

Conversation

@ThibHrrd
Copy link

@ThibHrrd ThibHrrd commented Dec 6, 2025

Implementation of the attack described in CVE-2022-41912 affecting the go crewjam/saml library. The attack consists of duplicating a valid assertion by removing the signature from this new assertion and changing the attributes. The XML parser will validate the signature of the second assertion (which is valid) but retrieve the attributes of the first assertion (which is fake).

I created a challenge for a CTF to demonstrate the vulnerability: https://github.com/HeroCTF/HeroCTF_v7/tree/master/Web/SAMLevinson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant