Vulnerability CVE-2018-15552


Published: 2018-09-07   Modified: 2018-09-08

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.

Type:

CWE-338

(Use of Cryptographically Weak PRNG)

CVSS2 => (AV:N/AC:L/Au:N/C:P/I:N/A:N)

CVSS Base Score
Impact Subscore
Exploitability Subscore
5/10
2.9/10
10/10
Exploit range
Attack complexity
Authentication
Remote
Low
No required
Confidentiality impact
Integrity impact
Availability impact
Partial
None
None
Affected software
Theethereumlottery -> Theethereumlottery 
Theethereumlottery -> The ethereum lottery 

 References:
https://github.com/TEAM-C4B/CVE-LIST/tree/master/CVE-2018-15552

Copyright 2024, cxsecurity.com

 

Back to Top