Vulnerability Description
The maxRandom function of a smart contract implementation for All For One, an Ethereum gambling game, generates a random value with publicly readable variables because the _seed value can be retrieved with a getStorageAt call. Therefore, it allows attackers to always win and get rewards.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| All-For-One | All For One | - |
Related Weaknesses (CWE)
References
- https://lists.apache.org/thread.html/a62aa2706105d68f1c02023fe24aaa3c13b4d8a1826
- https://medium.com/%40jonghyk.song/to-be-a-winner-of-ethereum-gambling-game-all-
- https://lists.apache.org/thread.html/a62aa2706105d68f1c02023fe24aaa3c13b4d8a1826
- https://medium.com/%40jonghyk.song/to-be-a-winner-of-ethereum-gambling-game-all-
FAQ
What is CVE-2018-12056?
CVE-2018-12056 is a vulnerability with a CVSS score of 7.5 (HIGH). The maxRandom function of a smart contract implementation for All For One, an Ethereum gambling game, generates a random value with publicly readable variables because the _seed value can be retrieved...
How severe is CVE-2018-12056?
CVE-2018-12056 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-12056?
Check the references section above for vendor advisories and patch information. Affected products include: All-For-One All For One.