69605 sc low users cannot revoke migration authorization after role revocation contrary to documented behavior
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
Proof of Concept
1
2
3
4
5
Previous68970 sc insight insufficient event emission in migratepositionsfrom leads to loss of migration accounting visibilityNext69908 sc low stale migration approvals cannot be revoked after role revocation and automatically reactivate on role re grant
Was this helpful?