Function distributeAssets
in contract LiquidationPool
has no permissions checks, but must be called only by LiquidationPoolManager
contract.
Function distributeAssets
recalculates rewards based on the passed in parameter _assets
. Since the onlyManager
modifier is missed, anyone can call the function and pass any assets with any amounts. Based on the passed parameter values the function recalculates rewards
, so the issue has high severity.
Anyone can call the function and recalculate rewards.
Manual review
Add onlyManager
modifier to the function.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.