Vulnerability in Theethereumlottery The Ethereum Lottery

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.

EPSS: 0.012 (64.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2018-15552?
CVE-2018-15552 is a high-severity vulnerability in Theethereumlottery The Ethereum Lottery, classified under Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG). CVSS score: 7.5/10. Published 2018-09-07.
How severe is CVE-2018-15552?
High severity. CVSS v3 base score is 7.5 out of 10.