The "PayWinner" function of a simplelottery smart contract implementation for The Ethereum Lottery, an Ethereum gambling game, generates a random value with publicly readable variable "maxTickets" (which is private, yet predictable and readable by the eth.getStorageAt function). Therefore, it allows malicious users to always win and get rewards.
Vulnerable Product | Search on Vulmon | Subscribe to Product |
---|---|---|
theethereumlottery the ethereum lottery - |