CVE-2018-12056
Last modified
CVE-2018-12056 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 1.68% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| All-For-One | All For One | All versions |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-12056?
How severe is CVE-2018-12056?
How do I fix CVE-2018-12056?
Are you affected by CVE-2018-12056?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
