code-423n4 / 2023-07-axelar-findings

2 stars 0 forks source link

Addresses in modifier not set correctly #489

Closed code423n4 closed 1 year ago

code423n4 commented 1 year ago

Lines of code

https://github.com/code-423n4/2023-07-axelar/blob/2f9b234bb8222d5fbe934beafede56bfb4522641/contracts/cgp/AxelarGateway.sol#L85-L90

Vulnerability details

Impact

Detailed description of the impact of this finding. Addresses that are mintlimiter but not governance will revert thus being able not to call some functions as intended.

Proof of Concept

In the comment it was stated that it is either mint limiter or governance but the code executes "and" /*

Assessed type

DoS

c4-pre-sort commented 1 year ago

0xSorryNotSorry marked the issue as primary issue

c4-sponsor commented 1 year ago

deanamiel marked the issue as sponsor disputed

deanamiel commented 1 year ago

This is a misunderstanding, the modifier will revert only if the caller is neither the mint limiter nor the governance address. This is the intended behavior.

c4-judge commented 1 year ago

berndartmueller marked the issue as unsatisfactory: Invalid