SUMMARY
AaveDIVAWrapperCore:_redeemWTokenPrivate function fails to verify whether the collateral token mapped to a given _wToken is registered before performing a withdrawal from Aave. This oversight allows the function to proceed with an unregistered or potentially invalid collateral token, which could lead to unintended behavior, including incorrect asset withdrawals or interactions with malicious tokens. Since _redeemWTokenPrivate is called by _redeemWToken, this issue propagates to the broader redemption process, potentially compromising the integrity of the system.**VULNERABILITY DETAILS **
If _collateralToken is address(0), the contract may attempt to withdraw an invalid token from Aave, causing a revert.
This can lead to a complete failure of the _redeemWToken function, preventing legitimate users from redeeming their wTokens.
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.