Closed sherlock-admin closed 1 year ago
escalate
This issue states how FeeCollecotor can get out the withdrawCooldown The recommendation is similar but the impact/invariant in this issue is different.
escalate
299 states how FeeCollector can change the balance and make the functions revert.
This issue states how FeeCollecotor can get out the withdrawCooldown The recommendation is similar but the impact/invariant in this issue is different.
You've created a valid escalation!
To remove the escalation from consideration: Delete your comment.
You may delete or edit your escalation comment anytime before the 48-hour escalation window closes. After that, the escalation becomes final.
Result: Medium Duplicate of #299 This is a valid duplicate of #299 as the underlying issue is the same.
simon135
medium
FeeCollector can get ouf WithdrawCooldown in
receiveTradingFees
Summary
since
receiveTradingFees
function uses the balance it doesn't need to wait the cooldownVulnerability Detail
balance
Of the fee collector and then they can just withdraw so its a way for suspended users to clear their balance and get out of that stateImpact
FeeCollector being the attacker and getting out of suspended and it goes against the spec that users need to wait to withdraw allocated
Code Snippet
https://github.com/sherlock-audit/2023-06-symmetrical/blob/6d2b64b6732fcfbd07c8217897dd233dbb6cd1f5/symmio-core/contracts/libraries/LibQuote.sol#L142
Tool used
Forge Manual Review
Recommendation
Dont use Balance instead use allocated like PartyA
Duplicate of #299