52218 sc high creator retains default admin role allowing bypass of upgrade restrictions
Description
Brief/Intro
Vulnerability Details
function createToken(...
) external returns (address) {
...
// Grant all necessary roles to the owner
// Grant the DEFAULT_ADMIN_ROLE to the deployer
...
token.grantRole(token.UPGRADER_ROLE(), address(this));Impact Details
References
Proof of Concept
Previous52517 sc high missing point in time snapshot in batched yield distribution enables double claims and permanent fund lockNext52841 sc medium token admin can dos admin to not let admin change purchase token
Was this helpful?