69396 sc low users unable to remove migration permission from migrator who had role revoked
Description
Brief/Intro
Vulnerability Details
// Staking.sol:77-82
function setMigrationPermit(address _migrator, bool _isMigrationPermitted) external {
> if (!hasRole(MIGRATOR_ROLE, _migrator)) revert MigratorNotFound(_migrator);
migrationPermits[_migrator][msg.sender] = _isMigrationPermitted;
emit MigrationPermitUpdated(_migrator, msg.sender, _isMigrationPermitted);
}Impact Details
References
Proof of Concept
Previous69898 sc low stale migration approvals allow a re authorized migrator to move user positions without renewed consentNext69141 sc low setmigrationpermit revocation silently blocked for de listed migrators contradicting documented guarantee
Was this helpful?