52796 sc low whitelist restriction in arctoken blocks all minting and burning
Description
Brief/Intro
Vulnerability Details
function isTransferAllowed(address from, address to, uint256 /*amount*/) external view override returns (bool) {
WhitelistStorage storage ws = _getWhitelistStorage();
if (ws.transfersAllowed) {
return true; // Unrestricted transfers
}
// BUG: Requires BOTH addresses to be whitelisted
return ws.isWhitelisted[from] && ws.isWhitelisted[to];
}Impact Details
References
Proof of Concept
Previous50393 sc insight unused admin state variable increases deployment and storage costs Next52956 sc high state inconsistency in batched yield distribution leads to direct theft of user funds and protocol insolvency
Was this helpful?