Description
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.
Metrics
CVSS 3.0 8.8/10
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://csrf.htmlpurifier.org/news/2013/0717-1.0.4-releasedRelease Notes, Vendor Advisory
- http://repo.or.cz/csrf-magic.git/blob/HEAD:/NEWS.txtRelease Notes, Third Party Advisory
- http://repo.or.cz/csrf-magic.git/commit/9d2537f70d58b16aeba89779aaf1573b8d618e11Patch, Third Party Advisory
- http://csrf.htmlpurifier.org/news/2013/0717-1.0.4-releasedRelease Notes, Vendor Advisory
- http://repo.or.cz/csrf-magic.git/blob/HEAD:/NEWS.txtRelease Notes, Third Party Advisory
- http://repo.or.cz/csrf-magic.git/commit/9d2537f70d58b16aeba89779aaf1573b8d618e11Patch, Third Party Advisory
Timeline
- Published
- Aug 8, 2018
- Last modified
- Jun 17, 2026
- NVD status
- Modified