CVE-2018-15552Theethereumlottery The Ethereum Lottery
High 7.5 No auth needed
Follow: this CVE · Theethereumlottery · Theethereumlottery The Ethereum Lottery We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 67
- Auth required
- No
- Published
- Sep 7, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-338
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for The Ethereum Lottery.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| theethereumlottery | the_ethereum_lottery | all |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory