WithdrawQueue
contract cannot claim EigenLayer ecosystem rewards
#468
Labels
bug
Something isn't working
downgraded by judge
Judge downgraded the risk level of this issue
grade-b
Q-35
QA (Quality Assurance)
Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax
sponsor disputed
Sponsor cannot duplicate the issue, or otherwise disagrees this is an issue
sufficient quality report
This report is of sufficient quality
Lines of code
https://github.com/code-423n4/2024-04-renzo/blob/main/contracts/Withdraw/WithdrawQueue.sol#L214
Vulnerability details
Impact
The
WithdrawQueue
is unable to claim airdrops accumulated from ezETH points, EigenLayer points, AVS points, etc.Proof of Concept
When a user calls the
withdraw
function ofWithdrawQueue
to initiate a withdrawal, the user's ezETH will be transferred to theWithdrawQueue
contract.WithdrawQueue.sol#L206-L214
This means that the
WithdrawQueue
contract starts holding ezETH and begins accumulating points, including ezETH points, EigenLayer points, AVS points, as well as potential future project incentives, and so on.However,
WithdrawQueue
lacks a flexible function to claim the corresponding token airdrop rewards when the aforementioned points mature.Tools Used
Manual Analysis
Recommended Mitigation Steps
Add a function that allows only the
WithdrawQueue
admin to call it, enabling flexible invocation of arbitrary contracts. For example:Assessed type
Other
The text was updated successfully, but these errors were encountered: