58033 sc medium unimplemented claimrewards function results in permanent freezing of aave incentive rewards
Description
Brief/Intro
Vulnerability Details
// In MYTStrategy.sol (Base Contract) function claimRewards() public virtual returns (uint256) { require(!killSwitch, "emergency"); _claimRewards(); // Calls the internal function } /// @dev override this function to claim all available rewards... function _claimRewards() internal virtual returns (uint256) {} // Empty by default// In AaveV3ARBUSDCStrategy.sol function _allocate(uint256 amount) internal override returns (uint256) { // ... // Strategy (address(this)) becomes the owner of the aTokens pool.supply(address(usdc), amount, address(this), 0); return amount; }
Impact Details
Link to Proof of Concept
Proof of Concept
3. Proof of Concept (PoC)
Previous56709 sc low zeroxswapverifier missing source validationNext56855 sc medium liquidations fail with arithmetic underflow when forced repayment exhausts collateral
Was this helpful?