dinever/golf · Security

Golf may allow attacker to bypass CSRF protections due to weak PRNG

GHSA ID
GHSA-q9qr-jwpw-3qvv
CVE ID
CVE-2016-15005
Severity
high
Published
Updated
CVSS
8.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v3
8.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Description

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.

CWEs

References