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

tiwang's avatar
tiwang
Icon for Nimbostratus rankNimbostratus
Jun 18, 2014

SSO failure should cause reject

hi out there

 

I have a simple problem (probably) - defined a kerberos based sso where - if the sso fails - also connects the user to the webserver where i expected it to reject the client instead but this it doesn't - probably a misunderstanding of the concept. If the SSO fails what do I need to do to reject the client? define a irule on the ltm which then somehow rejects the client ? Can I test on a variable of the SSO is successfully? and if so - how do I reject the client?

 

best regards /ti

 

6 Replies

  • kunjan's avatar
    kunjan
    Icon for Nimbostratus rankNimbostratus

    For the Kerberos, the server is requesting for credentials, which if SSO configured is provided by the APM. If it doesn't, you should see the user prompt asking to key in the credentials.

     

     

    So now if you don't see means, either back end server is not configured for it, or the client browser is automatically providing it . For the client browser to provide , either user has logged to the domain from a domain joined machine or you might have a saved log in information.

     

  • tiwang's avatar
    tiwang
    Icon for Nimbostratus rankNimbostratus

    hi Again yes but - see - I get the user-credentials from a certificate and get a kerberos token from the domain controller (KDC) - if it fails in getting the ticket for some reason I would like it to be rejected - just as a extra guard - not connected to the server. Doesn't we get a flag set somewhere that the SSO has failed and this could we then make use of in a irule which could be used to redirect it to another site? best regards /ti

     

  • tiwang's avatar
    tiwang
    Icon for Nimbostratus rankNimbostratus

    hi Again yes but - see - I get the user-credentials from a certificate and get a kerberos token from the domain controller (KDC) - if it fails in getting the ticket for some reason I would like it to be rejected - just as a extra guard - not connected to the server. Doesn't we get a flag set somewhere that the SSO has failed and this could we then make use of in a irule which could be used to redirect it to another site? best regards /ti

     

  • tiwang's avatar
    tiwang
    Icon for Nimbostratus rankNimbostratus

    hi Again yes but - see - I get the user-credentials from a certificate and get a kerberos token from the domain controller (KDC) - if it fails in getting the ticket for some reason I would like it to be rejected - just as a extra guard - not connected to the server. Doesn't we get a flag set somewhere that the SSO has failed and this could we then make use of in a irule which could be used to redirect it to another site? best regards /ti

     

  • kunjan's avatar
    kunjan
    Icon for Nimbostratus rankNimbostratus

    The result is flagged in this session variable:

     

     

    session.logon.last.username.sso.state- This is set to 1 internally when Kerberos SSO fails. When this variable is set, all subsequent requests are passed to the application server without applying SSO for the remainder of the user session. The variable name is constructed by appending .sso.state to the name specified in Username Source.

     

    http://support.f5.com/kb/en-us/products/big-ip_apm/manuals/product/apm-authentication-single-sign-on-11-5-0/24.html

     

  • tiwang's avatar
    tiwang
    Icon for Nimbostratus rankNimbostratus

    hi kujan thanks for the tip should be possibly for me to define a irule with a statement like

     

    when CLIENT_ACCEPTED { if session.logon.last.username.sso.state == 1 reject }

     

    and assign this to the ltm vs best regards /ti