CVE-2018-15552

Published Sep 7, 2018 CVSS 3.1 · 7.5 High EPSS 1.2% KEV · Not listed
Description
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2018-7428 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.
History

No history.

Weaknesses
  • CWE-338

    Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 9:54 AM
Reserved
Aug 19, 2018, 12:00 AM
Status
Modified
Published
Sep 7, 2018, 10:29 PM
Modified
Jun 17, 2026, 1:42 AM