69747 sc low broken migration permit revocation allows stale user consent to reactivate after migrator role is re granted
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
Proof of Concept
Previous69929 sc low inability to revoke migrationpermits for revoked migrators leads to permanent state persistence of user approvalsNext69570 sc low users cannot revoke migration approvals for removed migrators contrary to what the docs says
Was this helpful?