56911 sc low incorrectly implemented two step admin ownership transfer mechanism prevents new admin to accept role
Description
Brief/Intro
Vulnerability Details
function transferAdminOwnerShip(address _newAdmin) external onlyAdmin {
pendingAdmin = _newAdmin;
}
@> function acceptAdminOwnership() external onlyAdmin {
admin = pendingAdmin;
pendingAdmin = address(0);
emit AdminChanged(admin);
}Impact Details
References
Recommended Fix
Proof of Concept
Proof of Concept
Previous57632 sc high inflated tvl in mytsharesdeposited hides protocol insolvencyNext57730 sc high liquidation does not decrease mytsharesdeposited
Was this helpful?