Security Advisory

CVE-2018-17877

CVE vulnerability detail - eXtreme Datacenter Security Operations

Published 2018-10-23 21:00:00
Last updated 2024-08-05 11:01:14
Assigner mitre
CVSS score not scored
State PUBLISHED

Description

A lottery smart contract implementation for Greedy 599, an Ethereum gambling game, generates a random value that is predictable via an external contract call. The developer used the extcodesize() function to prevent a malicious contract from being called, but the attacker can bypass it by writing the core code in the constructor of their exploit code. Therefore, it allows attackers to always win and get rewards.