Publicly Readable _seed Value in maxRandom Function Allows Attackers to Always Win in All For One Ethereum Gambling Game
CVE-2018-12056 · MEDIUM Severity
AV:N/AC:L/AU:N/C:P/I:N/A:N
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.
Learn more about our Web Application Penetration Testing UK.