Vulnerability Description
The _addguess function of a simplelottery smart contract implementation for 1000 Guess, an Ethereum gambling game, generates a random value with publicly readable variables such as the current block information and a private variable (which can be read with a getStorageAt call). Therefore, it allows attackers to always win and get rewards.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| 1000Guess | 1000 Guess | - |
Related Weaknesses (CWE)
References
- https://medium.com/%40jonghyk.song/attack-on-pseudo-random-number-generator-prng
- https://medium.com/%40jonghyk.song/attack-on-pseudo-random-number-generator-prng
FAQ
What is CVE-2018-12454?
CVE-2018-12454 is a vulnerability with a CVSS score of 7.5 (HIGH). The _addguess function of a simplelottery smart contract implementation for 1000 Guess, an Ethereum gambling game, generates a random value with publicly readable variables such as the current block i...
How severe is CVE-2018-12454?
CVE-2018-12454 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2018-12454?
Check the references section above for vendor advisories and patch information. Affected products include: 1000Guess 1000 Guess.