Vulnerability CVE-2018-17968


Published: 2018-10-23

Description:
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.

Type:

CWE-338

(Use of Cryptographically Weak PRNG)

CVSS2 => (AV:N/AC:L/Au:N/C:P/I:N/A:N)

CVSS Base Score
Impact Subscore
Exploitability Subscore
5/10
2.9/10
10/10
Exploit range
Attack complexity
Authentication
Remote
Low
No required
Confidentiality impact
Integrity impact
Availability impact
Partial
None
None
Affected software
Ruletkaio -> Ruletkaio 

 References:
https://github.com/TEAM-C4B/CVE-LIST/tree/master/CVE-2018-17968

Copyright 2024, cxsecurity.com

 

Back to Top