PT-2018-11507 · Ethereum · Cryptosaga

Published

2018-09-24

·

Updated

2018-12-20

·

CVE-2018-12975

CVSS v2.0

5.0

Medium

VectorAV:N/AC:L/Au:N/C:P/I:N/A:N
Name of the Vulnerable Software and Affected Versions CryptoSaga (affected versions not specified)
Description The issue concerns the random() function in the smart contract implementation of CryptoSaga, an Ethereum game. This function generates a random value using publicly readable variables such as timestamp, the current block's blockhash, and a private variable that can be accessed through a getStorageAt call. As a result, attackers can precompute the random number, potentially allowing them to manipulate the game by obtaining powerful characters or inflicting critical damages.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2018-12975

Affected Products

Cryptosaga