Skip to content
OpenAdvisories
Unscored CVE-2018-17987 EUVD-2018-9726GHSA-23fj-gx6v-3x6c

The determineWinner function of a smart contract implementation for HashHeroes Tiles, an Ethereum game, uses a certain blockhash value in a…

Published Dec 26, 2018 · Updated Aug 5, 2024 · Assigned by mitre

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