DittoETH

Ditto
DeFiFoundryOracle
55,000 USDC
View results
Submission Details
Severity: high
Invalid

User with Diamond privilege can re-enter and empty the pool

Summary

The Withdraw function in the BridgeSteth.sol is not protected to re-enter. Here the user with diamond role can re-enter and can empty the whole pool with Steth.

Vulnerability Details

The withdraw() method is not protected against re-enterancy attack and the user with diamond privileges can re-enter again and again and empty the whole pool as there is also not a check for balance of the diamond privilege user.

Impact

Re-enterancy

Tools Used

Manual

Recommendations

Use Add non-reentrancy guard.

Updates

Lead Judging Commences

0xnevi Lead Judge
over 1 year ago
0xnevi Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Other

Support

FAQs

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