Skip to main content
Participant
September 18, 2023
Answered

Slow Processing of SAML assertion

  • September 18, 2023
  • 1 reply
  • 193 views

I have a page that doesn't have a fully functional SSO process. It only receives a SAML assertion and processes a login. After an upgrade to CF 2023, the processing takes 30 seconds. On CF 2018 it was 2-3 seconds. I created a test page that simply dumps the assertion. Just the dump (no other processing) also takes 30 seconds. I tried sending the test page a field of plain text that was equal in length to the assertion, and it dumped in 2-3 seconds. Any ideas as to what could cause this slowness only with the SAML assertion?

    This topic has been closed for replies.
    Correct answer Bob2841038875de

    I found the cause myself so I thought I would post it in case it helps anyone in the future. We had expanded the RegEx in neo-security.xml that attempts to replace XSS attempts with the text "Invalid Content". When I rolled this back to the default version, the problem disappeared.

    1 reply

    Bob2841038875deAuthorCorrect answer
    Participant
    September 28, 2023

    I found the cause myself so I thought I would post it in case it helps anyone in the future. We had expanded the RegEx in neo-security.xml that attempts to replace XSS attempts with the text "Invalid Content". When I rolled this back to the default version, the problem disappeared.