69673 sc low users cannot revoke a migration permit after role removal
Description
Brief/Intro
Vulnerability Details
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
Recommendation
Proof of Concept
Steps
Code
Result
Previous69524 sc low role validation on revocation can lock migration permitsNext69936 sc low users cannot revoke migration permits once the migrator s role has been revoked
Was this helpful?