Skip to content
OpenAdvisories
Unscored CVE-2018-12454 EUVD-2018-4425GHSA-5vmw-r8q3-jr3r

The _addguess function of a simplelottery smart contract implementation for 1000 Guess, an Ethereum gambling game, generates a random value…

Published Jun 17, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

The _addguess function of a simplelottery smart contract implementation for 1000 Guess, an Ethereum gambling game, generates a random value with publicly readable variables such as the current block information and a private variable (which can be read with a getStorageAt call). Therefore, it allows attackers to always win and get rewards.

References