0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-12 02:52:01 +08:00
discourse/plugins/discourse-patreon/app/controllers
Joffrey JAFFEUX bb0934f5ab SECURITY: authentication bypass vulnerability
When the patreon_webhook_secret site setting is blank, an attacker can forge valid webhook signatures by computing an HMAC-MD5 with an empty string as the key. Since the request body is known to the sender, the attacker can produce a matching signature and send arbitrary webhook payloads. This allows unauthorized creation, modification, or deletion of Patreon pledge data and triggering patron-to-group synchronization.

The `secure_compare` change handles a very theoretical timing attack.
2026-02-26 12:24:37 +00:00
..
patreon SECURITY: authentication bypass vulnerability 2026-02-26 12:24:37 +00:00