CSRF in Github.com/dinever/golf
CVE-2016-15005
CSRF tokens are generated using math/rand, which is not a cryptographically secure random number generator, allowing an attacker to predict values and bypass CSRF protections with relatively few requests.
Vulnerability class: CSRF (Cross-Site Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.004, 36.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Github.com/dinever/golf — versions 0
- Golf Project
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (Live-Hack-CVE/CVE-2016-15005). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/dinever/golf/pull/24 (Patch, Third Party Advisory)
- github.com/dinever/golf/commit/3776f338be48b5bc5e8cf9faff7851fc52a3f1fe (Patch, Third Party Advisory)
- github.com/dinever/golf/issues/20 (Third Party Advisory, Issue Tracking)
- pkg.go.dev/vuln/GO-2020-0045 (Third Party Advisory)