51941 sc high token creator can revoke factory s upgrade capability permanently blocking upgrades
Brief / Intro
Vulnerability Details
token.grantRole(token.UPGRADER_ROLE(), address(this));function upgradeToken(address token, address newImplementation) external onlyRole(DEFAULT_ADMIN_ROLE) {
...
UUPSUpgradeable(token).upgradeToAndCall(newImplementation, "");
...
}Impact Details
Proof of Concept
1
2
3
4
5
References
Previous51510 sc low bypass of maxvalidatorpercentage allows a validator to exceed the decentralisation capNext51712 sc insight yield distribution will revert if global module doesn t implement iyieldrestrictions
Was this helpful?