In csrf-magic before 1.0.4, if $GLOBALS['csrf']['secret']...
High severity
Unreviewed
Published
May 14, 2022
to the GitHub Advisory Database
•
Updated Feb 2, 2023
Description
Published by the National Vulnerability Database
Aug 8, 2018
Published to the GitHub Advisory Database
May 14, 2022
Last updated
Feb 2, 2023
In csrf-magic before 1.0.4, if $GLOBALS['csrf']['secret'] is not configured, the Anti-CSRF Token used is predictable and would permit an attacker to bypass the CSRF protections, because an automatically generated secret is not used.
References