69929 sc low inability to revoke migrationpermits for revoked migrators leads to permanent state persistence of user approvals
Description
Brief / Intro
Vulnerability Details
function setMigrationPermit(address _migrator, bool _isMigrationPermitted) external {
// Both granting (true) and revoking (false) revert if the migrator is not found
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
Previous69008 sc low denial of service on migration permit revocationNext69747 sc low broken migration permit revocation allows stale user consent to reactivate after migrator role is re granted
Was this helpful?