CVE-2018-17987 Business logic in n/a
An attacker can manipulate prize distribution in HashHeroes Tiles by exploiting predictable randomness in the smart contract's winner determination logic.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2018-17987?
CVE-2018-17987 is a high-severity vulnerability in n/a, published on 26 Dec 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-330
Which versions are affected by CVE-2018-17987?
It affects 1 product.
Products include Hashheroes Hashheroes.
How do I fix CVE-2018-17987?
No fix has been published for CVE-2018-17987 yet. Limit exposure of the affected software until one is available.
Is CVE-2018-17987 being exploited?
There is no known exploitation of CVE-2018-17987 in the wild and no public exploit code.
Sources
Also known as GHSA-23fj-gx6v-3x6c.