Problem/Motivation
MailchimpWebhookController::endpoint() compares the hash with $webhook_hash !== $hash, this could make it vulnerable to timing attacks (the comparison is slightly slower if the beginning of the two strings is the same).
Steps to reproduce
Proposed resolution
We should probably use hash_equals() instead.
Comments
Comment #6
xenophyle commentedCommitted to 2.x and 3.x branches.