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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2018-09-07T22:00:00

Updated: 2024-08-05T09:54:03.735Z

Reserved: 2018-08-19T00:00:00

Link: CVE-2018-15552

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2018-09-07T22:29:01.617

Modified: 2024-11-21T03:51:02.920

Link: CVE-2018-15552

cve-icon Redhat

No data.