57532 sc high assets are not accounted for when the contract is in killswitch mode
Description
Brief/Intro
Vulnerability Details
function allocate(bytes memory data, uint256 assets, bytes4 selector, address sender)
external
onlyVault
returns (bytes32[] memory strategyIds, int256 change)
{
if (killSwitch) {
return (ids(), int256(0)); <<<<<
}Impact Details
References
Proof of Concept
Proof of Concept
Previous57464 sc high incorrect accounting in stargate strategy causes protocol insolvency and user liquidationsNext58124 sc low direct theft of funds via malicious actions in execute call due to incorrect calldata verification
Was this helpful?