CVE-2013-7464
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.79%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.0
- 8.8 HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS
- 0.79% probability · 54th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-352
- Affected
- csrf-magic project/csrf-magic
- Source
- cve@mitre.org
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
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.