CVE-2018-15552

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 attackers to always win and get rewards.

Score
CVSS 3.1 7.5 High
Status
Modified - cve@mitre.org
Published
2018-09-07
Last modified
2024-08-05
Weaknesses
CWE-338

Affected products

References