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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2018-06-17T12:00:00

Updated: 2024-08-05T08:38:06.264Z

Reserved: 2018-06-15T00:00:00

Link: CVE-2018-12454

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2018-06-17T12:29:00.237

Modified: 2023-11-07T02:52:13.760

Link: CVE-2018-12454

cve-icon Redhat

No data.