Description
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Prior to 7.4.13 and 8.0.13, MailomatRequestParser::validateSignature() parsed X-MOM-Webhook-Signature as algo=signature and passed the request-selected algorithm to hash_hmac(), allowing a signature algorithm downgrade instead of enforcing Mailomat's documented SHA-256 webhook signature. This issue is fixed in versions 7.4.13 and 8.0.13.
Problem types
CWE-347: Improper Verification of Cryptographic Signature
CWE-757: Selection of Less-Secure Algorithm During Negotiation ('Algorithm Downgrade')
Product status
>= 8.0.0-BETA1, < 8.0.13
>= 8.0.0-BETA1, < 8.0.13
References
github.com/...ymfony/security/advisories/GHSA-rrj9-5q2j-4gvr
github.com/...ommit/bdfe9fe0d94d33dfaca0bc2fe0b00b54767b0c88
github.com/symfony/symfony/releases/tag/v7.4.13
github.com/symfony/symfony/releases/tag/v8.0.13