Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-26586

SCRAM client mechanism should preemptively validate server provided nonces

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.4.0-rc1
    • None
    • None
    • Fully Compatible
    • ALL
    • 25

    Description

      The client side SCRAM mechanism sends a nonce to the server as a part of Client Step 1. The server takes this nonce, and appends its own random data, and returns this to the client in Server Step 1. The client should validate that its original nonce is a prefix to this nonce. Not doing so could cause an error message to be emitted in Server Step 2, rather than in Client Step 2 when the problem was first detectable. Fixing this will improve the usefulness of these messages.

      Attachments

        Activity

          People

            spencer.jackson@mongodb.com Spencer Jackson
            spencer.jackson@mongodb.com Spencer Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: