Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 1.06 KB

Blacklisting Bypass via `transferFrom()` Function.md

File metadata and controls

26 lines (22 loc) · 1.06 KB

Function The transferFrom() function in the TokenImpl contract does not verify that the sender (i.e. the from address) is not blacklisted.

As such, it is possible for a user to allow an account to spend a certain allowance regardless of their blacklisting status.

Recommendation:

At present the function transferFrom() uses the notBlacklisted(address) modifier twice, on the msg.sender and to addresses. The notBlacklisted(address) modifier should be used a third time against the from address.


Slide Screenshot

071.jpg


Slide Text

  • Sigma Prime Infinigold Finding 2
  • Access Control
  • High Severity
  • Missed Blacklisting
  • transferFrom() from Addr
  • Apply notBlacklisted() from Addr

References


Tags