Hawk High

First Flight #39
Beginner FriendlySolidity
100 EXP
View results
Submission Details
Impact: high
Likelihood: high
Invalid

[H-02] Due to Funds Being Stuck in the Contract During Teacher Fund Allocation, a DOS Attack Occurs, Preventing Other Valid Teachers from Receiving Their Due Funds

Summary

Due to the incorrect addition of a malicious teacher, funds get stuck in the contract during teacher fund allocation, causing a DOS attack. This results in other valid teachers not receiving their due funds.

Vulnerability Details

  1. The principal may add a malicious teacher with a contract address that cannot receive fund allocations in the addTeacher function.

  2. When using graduateAndUpgrade, because the malicious teacher cannot receive the funds, the funds get stuck in the contract, resulting in a DOS attack.

Impact

The DOS attack causes other valid teachers to be unable to receive their due funds!

POC

Not written.

Recommendations

Teacher accounts must have a receive or fallback function that can properly receive funds!

Updates

Lead Judging Commences

yeahchibyke Lead Judge 6 months ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Appeal created

0x996 Submitter
6 months ago
yeahchibyke Lead Judge
6 months ago
yeahchibyke Lead Judge 6 months ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.