SAMLRaider icon indicating copy to clipboard operation
SAMLRaider copied to clipboard

Support servers that

Open matthijsmelissen opened this issue 6 years ago • 4 comments

Recently, I have encountered a couple of SAML implementations where the service provider does not accept the output generated by SAMLRaider. I have tested this by making a change in the SAML Raider edit box, undoing that change, and submitting the request, which is rejected by the server. Resubmitting the original code works fine.

Closer inspection shows that this is caused by linebreaks that are inserted by SAMLRaider. It seems the first couple of linebreaks are accepted by the server, but in my case inserting a linebreak (manually, without using SAMLRaider) between ds:SignedInfo and <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/> triggers an error at the server. This might well be a bug in the SAML implementation rather than in SAMLRaider, but nevertheless something that prevents testing with SAMLRaider.

One implementation that seems to suffer from this is Saml2-js.

Would it be possible to find a solution for this? If it is not possible to find the root cause, would it be possible to add a setting that disables adding the linebreaks?

matthijsmelissen avatar Dec 20 '17 22:12 matthijsmelissen

I am having the same issue. Any updates regarding this issue? @matthijsmelissen did you find an alternate solution/tool besides saml raider that allowed you to test SAML implementations?

dmg2 avatar Mar 28 '18 05:03 dmg2

Unfortunately not.

matthijsmelissen avatar Mar 28 '18 06:03 matthijsmelissen

Thanks for reporting. I'll try to fix this the next time i work on the project.

emanuelduss avatar Mar 28 '18 19:03 emanuelduss

This is a duplicate of https://github.com/SAMLRaider/SAMLRaider/issues/12 as far as I can see.

lindi2 avatar Dec 12 '18 08:12 lindi2