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.
Advisories
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2018-7428 | 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. |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
No history.
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2024-08-05T09:54:03.735Z
Reserved: 2018-08-19T00:00:00.000Z
Link: CVE-2018-15552
No data.
Status : Modified
Published: 2018-09-07T22:29:01.617
Modified: 2024-11-21T03:51:02.920
Link: CVE-2018-15552
No data.
OpenCVE Enrichment
No data.
Weaknesses
EUVD