Vulnerabilities > CVE-2018-17968 - Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) vulnerability in Ruletkaio

047910
CVSS 5.0 - MEDIUM
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
PARTIAL
Integrity impact
NONE
Availability impact
NONE
network
low complexity
ruletkaio
CWE-338

Summary

A gambling smart contract implementation for RuletkaIo, an Ethereum gambling game, generates a random value that is predictable by an external contract call. The developer wrote a random() function that uses a block timestamp and block hash from the Ethereum blockchain. This can be predicted by writing the same random function code in an exploit contract to determine the deadSeat value.

Vulnerable Configurations

Part Description Count
Application
Ruletkaio
1