57114 sc low inherited setadmin function allows to bypass two step admin ownership transfer mechanism
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
Proof of Concept
Proof of Concept
Previous57793 sc high cumulativeearmarked variable is not updated in forcerepay function breaking core internal logic and leading to user funds being stuck Next58450 sc high missing transmuter balance update after redemption blocks future earmarking and underfunds redemptions
Was this helpful?