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
Link | Resource |
---|---|
https://github.com/TEAM-C4B/CVE-LIST/tree/master/CVE-2018-17987 | Exploit Third Party Advisory |
Configurations
Information
Published : 2018-12-26 13:29
Updated : 2019-02-14 11:08
NVD link : CVE-2018-17987
Mitre link : CVE-2018-17987
JSON object : View
CWE
CWE-330
Use of Insufficiently Random Values
Products Affected
hashheroes
- hashheroes