Fix vulnerability in CryptoCC26XX.h CCM example

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Urgent
    • TI Device Drivers
    • TIDRIVERS-1011
    • 3.10.00
    • 3.20.00
    • Hide
      There was a vulnerability in the CCM example of the CryptoCC26XX.h header.
      The decryption operation incorrectly set the .msgOut field to the same location as the encrypted MAC in the cyphertext. During the course of the driver operation, the MAC that is recalculated over the decrypted message, is written to .msgOut. This recalculated MAC is then compared to the MAC in the cyphertext. If .msgOut is at the same location as the MAC in the cyphertext, the original MAC will be overwritten and the new MAC will be compared against itself.
      This was the case in the example in the header file. The verification could not fail and the authentication was thus ineffective.
      Show
      There was a vulnerability in the CCM example of the CryptoCC26XX.h header. The decryption operation incorrectly set the .msgOut field to the same location as the encrypted MAC in the cyphertext. During the course of the driver operation, the MAC that is recalculated over the decrypted message, is written to .msgOut. This recalculated MAC is then compared to the MAC in the cyphertext. If .msgOut is at the same location as the MAC in the cyphertext, the original MAC will be overwritten and the new MAC will be compared against itself. This was the case in the example in the header file. The verification could not fail and the authentication was thus ineffective.

      Fix vulnerability in CryptoCC26XX.h CCM example

            Assignee:
            TI User
            Reporter:
            TI User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Connection: Intermediate to External PROD System
                EXTSYNC-819 - Fix vulnerability in CryptoCC26XX.h...
                SYNCHRONIZED
                • Last Sync Date: