Back to Vulnerability database

HackerGold Typo

ID Submit date Publish date Author Score
1 10.26.2018 10.26.2018 10.0

Decription

The typo is found in line 77, in the transferFrom() function: balances[to] =+ value; where =+ (equal to) should have been +=(transfer to). The effect is that 0x2ccc5a059a1bda4c3c3c594516e812a0b15799c9’s balance has been reduced from 5,000,000 HKG to 0.001 HKG. Vector: BVSS:1.1/B:L/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H/CI:N/II:H/AI:N

Component

Smart contract

Platform

Ethereum

Subclass

Typo

Comments