51456 sc high token creator can revoke the upgrader role from the factory in order to avoid upgrades
Brief / Intro
Vulnerability Details
token.grantRole(token.DEFAULT_ADMIN_ROLE(), msg.sender);
token.grantRole(token.ADMIN_ROLE(), msg.sender);
token.grantRole(token.MANAGER_ROLE(), msg.sender);
token.grantRole(token.YIELD_MANAGER_ROLE(), msg.sender);
token.grantRole(token.YIELD_DISTRIBUTOR_ROLE(), msg.sender);
token.grantRole(token.MINTER_ROLE(), msg.sender);
token.grantRole(token.BURNER_ROLE(), msg.sender);
token.grantRole(token.UPGRADER_ROLE(), address(this));Impact Details
Proof of Concept
1
2
3
4
5
6
References
Previous50312 sc insight validator can steal user rewards due to a lack of cooldown when validator increases commissionNext50632 sc insight critical timestamp parsing bug in getyear of datetime contract
Was this helpful?