Closed sherlock-admin2 closed 9 months ago
1 comment(s) were left on this issue during the judging contest.
takarez commented:
invalid
Invalid, feature request, blockAccountVersion()
is an admin permissioned function, so if they wish to block an account version without reversing, it is up to their discretion
Topmark
medium
Dos due to Absence of Unblocked Functionality for Blocked Account Version
Summary
Denial of Service due to Absence of Unblocked Functionality for Blocked Account Version in the Factory.sol contract
Vulnerability Detail
The code above shows how blockAccountVersion(...) Function is impemented in the Factory contract, the problem is that only Block functionality is present in the contract, in a situation this values are needed for reused latter in the contract, there is no unblock function to reverse this sensitive changes thereby causing denial of service as this is not reversible, and therefore a parmanent problem
Impact
Denial of Service due to Absence of Unblocked Functionality for Blocked Account Version in the Factory.sol contract
Code Snippet
https://github.com/sherlock-audit/2023-12-arcadia/blob/main/accounts-v2/src/Factory.sol#L297
Tool used
Manual Review
Recommendation
Arcadia Protocol should ensure an Unblock functionality is added to the factory contract to prevent denial of service in situation blocked version are need for reuse in code execution