For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Ingebrigt_Maurs's avatar
Ingebrigt_Maurs
Icon for Nimbostratus rankNimbostratus
Apr 28, 2015

ASSERTION_SUBJECT_CONFIRM_NOTONORAFTER not respected

Hi!

I'm using APM to implement a SAML SP.

APM will successfully validate a SAMLResponse even if the time specified by NotOnOrAfter in the SubjectConfirmationData element has passed. Shouldn't this fail? Is there a setting I'm missing?

From my log:

Apr 28 11:19:25 bigip-test debug apd[11857]: 01490000:7: modules/Authentication/Saml/SamlSPAgent.cpp func: "parseAssertion()" line: 3578 Msg:  ASSERTION_SUBJECT_CONFIRM_NOTONORAFTER: (24) 2015-04-27T12:01:59.204Z

Apr 28 11:19:25 bigip-test debug apd[11857]: 01490000:7: modules/Authentication/Saml/SamlSPAgent.cpp func: "verifyAssertionSignature()" line: 4614 Msg:  Verification of SAML Signature 1 is Successfull

Notice from the log timestamps that the system time during message verification is well after ASSERTION_SUBJECT_CONFIRM_NOTONORAFTER.

3 Replies

  • kunjan's avatar
    kunjan
    Icon for Nimbostratus rankNimbostratus

    It is a bug. You may want to raise a support case and get the fix.

     

  • Any progress on this?

     

    NotOnOrAfter is in there to ensure SAML tokens do not remain valid forever, so IMHO a pretty important security feature.