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.
References
Configurations
History
No history.
Information
Published : 2018-08-15 17:29
Updated : 2023-11-07 02:52
NVD link : CVE-2018-12056
Mitre link : CVE-2018-12056
CVE.ORG link : CVE-2018-12056
JSON object : View
Products Affected
all-for-one
- all_for_one
CWE
CWE-338
Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)