CVE-2018-15552
Last modified
CVE-2018-15552 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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.. EPSS estimates a 1.17% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Theethereumlottery | The Ethereum Lottery | All versions |
References
- https://github.com/TEAM-C4B/CVE-LIST/tree/master/CVE-2018-15552Exploit, Third Party Advisory
- https://github.com/TEAM-C4B/CVE-LIST/tree/master/CVE-2018-15552Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-15552?
How severe is CVE-2018-15552?
How do I fix CVE-2018-15552?
Are you affected by CVE-2018-15552?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
