You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Liquidation logic relies on external Comptroller calculations but lacks proper checks for edge cases like insufficient collateral or incorrect seize token amounts.
Bouncy Cloud Mockingbird
High
Liquidation Calculation Vulnerabilities
Summary
Liquidation logic relies on external Comptroller calculations but lacks proper checks for edge cases like insufficient collateral or incorrect seize token amounts.
Root Cause
In https://github.com/sherlock-audit/2024-12-numa-audit/blob/ae1d7781efb4cb2c3a40c642887ddadeecabb97d/Numa/contracts/lending/CToken.sol#L1021
The liquidation logic relies on external Comptroller calculations but lacks proper checks for edge cases like insufficient collateral or incorrect seize token amounts.
Internal pre-conditions
No response
External pre-conditions
No response
Attack Path
No response
Impact
An attacker could manipulate collateral calculations or leverage edge cases to bypass liquidation checks, leading to incorrect token seizures.
PoC
contract LiquidationExploit {
CToken public targetCToken;
CToken public collateralToken;
}
Mitigation
Perform additional internal collateral validations before executing seizures.
The text was updated successfully, but these errors were encountered: