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
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: mitre
Published: 2018-06-17T12:00:00
Updated: 2018-06-17T12:57:01
Reserved: 2018-06-15T00:00:00
Link: CVE-2018-12454
JSON object: View
NVD Information
Status : Modified
Published: 2018-06-17T12:29:00.237
Modified: 2023-11-07T02:52:13.760
Link: CVE-2018-12454
JSON object: View
Redhat Information
No data.
CWE