CVE-2018-15552 Business logic in n/a

High 7.5 Published Updated

Attackers can predict random values in the Ethereum Lottery smart contract to always win rewards, undermining the game's integrity.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2018-15552?

CVE-2018-15552 is a high-severity vulnerability in n/a, published on 7 Sep 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-338

Which versions are affected by CVE-2018-15552?

It affects 1 product.

Products include Theethereumlottery the Ethereum Lottery.

How do I fix CVE-2018-15552?

No fix has been published for CVE-2018-15552 yet. Limit exposure of the affected software until one is available.

Is CVE-2018-15552 being exploited?

There is no known exploitation of CVE-2018-15552 in the wild and no public exploit code.

Sources

Also known as GHSA-cj6v-rj8x-qr97.

Is CVE-2018-15552 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free