{"id":"CVE-2018-17071","published":"2018-09-18T21:00:00Z","modified":"2024-08-05T10:39:59Z","title":"The fallback function of a simple lottery smart contract implementation for Lucky9io, an Ethereum gambling game…","vendor":null,"product":null,"tier":"tail","description":{"text":"The fallback function of a simple lottery smart contract implementation for Lucky9io, an Ethereum gambling game, generates a random value with the publicly readable variable entry_number. This variable is private, yet it is readable by eth.getStorageAt function. Also, attackers can purchase a ticket at a low price by directly calling the fallback function with small msg.value, because the developer set the currency unit incorrectly. Therefore, it allows attackers to always win and get rewards.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01208,"percentile":0.68163,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/TEAM-C4B/CVE-LIST/tree/master/CVE-2018-17071","tags":["x_refsource_MISC"]}],"priority":{"score":13.6,"factors":[{"name":"EPSS percentile","points":13.63}]},"euvd":{"id":"EUVD-2018-8852","exploited":false,"provenance":"source"}}