Back to CVE catalog
CVE-2018-15552

Predictable Random Value in simplelottery

theethereumlottery the ethereum lottery

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityHigh
IntegrityNone
AvailabilityNone

CVSS summary v3.1

7.5High
Published:
Updated:
EPSS:
1.165%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:theethereumlotterythe ethereum lotteryAffected versions:
Range not specifiedShow full version range for the ethereum lottery
  • CPE applicability can depend on other products or environments. Consult the full source configuration.

1–1 of 1 · Page 1 of 1

CVSS scores and metrics2
[email protected] · NVD (Primary)Primary7.5 / 10HighCVSS 3.1Details
Attack complexity
Low
Confidentiality
High
Integrity
None
Availability
None
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
[email protected] · NVD (Primary)5.0 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
None
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories4

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences