CVE-2018-17071 in Lucky9io信息

摘要

由 VulDB • 2026-06-29

Lucky9io 是一个以太坊赌博游戏,其简单彩票智能合约实现中的回退函数(fallback function)使用公共可读变量 entry_number 生成随机值。该变量本应为私有属性,但可通过 eth.getStorageAt 函数读取。此外,由于开发者错误设置了货币单位,攻击者可以通过直接调用回退函数并传入较小的 msg.value 以低价购买彩票。因此,这允许攻击者总是获胜并获得奖励。

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

来源

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!