Description
The determineWinner function of a smart contract implementation for HashHeroes Tiles, an Ethereum game, uses a certain blockhash value in an attempt to generate a random number for the case where NUM_TILES equals the number of people who purchased a tile, which allows an attacker to control the awarding of the prize by being the last person to purchase a tile.
References (1)
Core 1
Core References
Exploit, Third Party Advisory x_refsource_misc
https://github.com/TEAM-C4B/CVE-LIST/tree/master/CVE-2018-17987
Scores
CVSS v3
7.5
EPSS
0.0024
EPSS Percentile
46.6%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Details
CWE
CWE-330
Status
published
Products (1)
hashheroes/hashheroes
Published
Dec 26, 2018
Tracked Since
Feb 18, 2026