CVE-2018-12454 Information

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.

CVSS Vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Reference

https://medium.com/@jonghyk.song/attack-on-pseudo-random-number-generator-prng-used-in-1000-guess-an-ethereum-lottery-game-7b76655f953d

Attack Complexity

LOW

Privileges Required

NONE

User Interaction Required

NONE

Scope

NONE

Confidentiality Impact

UNCHANGED

Integrity Impact

HIGH

Availability Impact

NONE

Base Score

NONE

Base Severity

7.5

Share on: