Review 10.4 Merged

66660[SECURITY] Protect persisted session IDs from being used directly

Oliver Hader CR +2 V +2 Normal +169 −44 updated 11/17/20, 09:18

Commit message

Instead of storing session IDs with their corresponding storage
backends in plain text, their HMAC-SHA256 (Redis) or HMAC-MD5 (DB)
is being used. HMAC-MD5 had to be chosen to avoid breaking changes
for limited field size in database fields (32 characters currently).

This change also allows a fallback to non-hashed-session values,
meaning that
* set() and update() will create new session records with the hashed
  identifier
* get() contains a fallback to the non-hashed-version when no session
  with a hashed identifier is found

Review

  • Code review CR +2 Done
    • Oliver Hader +2
  • Verified V +2 Done
    • Oliver Hader +2

Issues 1

Files 13

Review log 34

  1. Oliver Hader uploaded patch set 1 11/17/20, 08:51

  2. Oliver Hader commented on patch set 1 V +2 CR +2 11/17/20, 08:51

    Auto-approved
  3. Oliver Hader merged patch set 2 11/17/20, 08:51

  4. TYPO3com voted on patch set 1 V +1 11/17/20, 09:18 Completed build in 21m 33s on Tue, 17 Nov, 09:18 AM Test Summary: 75135 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC104-800