Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-3125

SSL ctx is set to a constant allowing for potential inappropriate session reuse.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.2.0
    • Core, SSL
    • None

    Description

      We have the following chunk of code in TS

          // XXX I really don't think that this is a good idea. We should be setting this a some finer granularity,
          // possibly per SSL CTX. httpd uses md5(host:port), which seems reasonable.
          session_id_context = 1;
          SSL_CTX_set_session_id_context(ctx, (const unsigned char *) &session_id_context, sizeof(session_id_context));
      

      This is 100% broken and needs to be fixed. I believe jpeach@apache.org raised concerns about this in the past, after reading OpenSSL documentation this is completely broken.

      Attachments

        1. ssl-session-ctx-id.patch
          3 kB
          Brian Geffon

        Activity

          People

            briang Brian Geffon
            briang Brian Geffon
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: