cve/2016/CVE-2016-15005.md

18 lines
793 B
Markdown
Raw Normal View History

2024-05-26 14:27:05 +02:00
### [CVE-2016-15005](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-15005)
![](https://img.shields.io/static/v1?label=Product&message=github.com%2Fdinever%2Fgolf&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=0%3C%200.3.0%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE%20338%3A%20Use%20of%20Cryptographically%20Weak%20Pseudo-Random%20Number%20Generator%20(PRNG)&color=brighgreen)
### 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.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/Live-Hack-CVE/CVE-2016-15005