High severity7.5NVD Advisory· Published Aug 15, 2018· Updated Jun 17, 2026
CVE-2018-12056
CVE-2018-12056
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.
Affected products
2cpe:2.3:a:all-for-one:all_for_one:-:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:a:all-for-one:all_for_one:-:*:*:*:*:*:*:*
- (no CPE)
Patches
Vulnerability mechanics
References
2News mentions
0No linked articles in our index yet.