Business::GoCardless for Perlで偽のWebhookを受け入れてしまう脆弱性
概要
Business::GoCardless for Perlの1.01より前のバージョンは、Webhookの署名検証に使う秘密鍵が未定義または空の場合に、偽のWebhookを受け入れてしまいます。遠隔の攻撃者が空の鍵で署名した偽装通知を、GoCardlessから送られたものとして受理させられる可能性があります。対策として1.01以降に更新してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Business::GoCardless for Perlの1.01より前のバージョンは、Webhookの署名検証に使う秘密鍵が未定義または空の場合に、偽のWebhookを受け入れてしまいます。遠隔の攻撃者が空の鍵で署名した偽装通知を、GoCardlessから送られたものとして受理させられる可能性があります。対策として1.01以降に更新してください。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| CPANBusiness-GoCardless |
1.01 未満→ 1.01 |
1.01 |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
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.
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- web metacpan.org
- web nvd.nist.gov
- web github.com