CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2018

CVE-2018-15552
Theethereumlottery The Ethereum Lottery vulnerability

The "PayWinner" function of a simplelottery smart contract implementation for The Ethereum Lottery, an Ethereum gambling game, generates a random value with publicly readable variable "maxTickets" (which is private, yet predictable and readable by the eth.getStorageAt function). Therefore, it allows attackers to always win and get rewards.

Affected products

The Ethereum Lottery. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Theethereumlottery The Ethereum Lottery runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.