Descrizione
Business::GoCardless versions before 1.01 for Perl accept forged webhooks when a configured webhook secret is undef or empty.
signature_valid uses each configured secret as the HMAC key, and nothing rejects undef or an empty string, both of which Digest::SHA treats as an empty key. A secret read from an unset environment variable, or an empty entry in a list of rotated secrets, is used as is.
A remote attacker can sign a forged webhook with an empty key and have it accepted as sent by GoCardless.
Tipo di vulnerabilità
CWE-347
Verifica impropria della firma crittografica
Il prodotto non verifica, o verifica in modo errato, la firma crittografica dei dati.
Impatto sui sistemi
| Ambito | Impatto |
| Controllo degli accessi, Integrità, Riservatezza |
Ottenere privilegi o assumere un’altra identità, Modificare i dati dell’applicazione, Eseguire codice o comandi non autorizzati Un attaccante può accedere a dati sensibili ed eventualmente eseguire codice non autorizzato. |
Tutte le 955 CVE di tipo CWE-347, con andamento e prevenzione