Closed c4-bot-6 closed 10 months ago
141345 marked the issue as sufficient quality report
wrong event, no loss
should be QA
141345 marked the issue as primary issue
Alec1017 (sponsor) confirmed
Alec1017 (sponsor) acknowledged
Alec1017 marked the issue as disagree with severity
Seems like QA is appropriate
Alec1017 (sponsor) confirmed
0xean changed the severity to QA (Quality Assurance)
0xean marked the issue as grade-c
Lines of code
https://github.com/re-nft/smart-contracts/blob/3ddd32455a849c3c6dc3c3aad7a33a6c9b44c291/src/Kernel.sol#L277-L302
Vulnerability details
Impact
In the case an executor attempts to execute an invalid action, the transaction will succeed and an event will be emitted when to action has taken place. This will lead to misleading information for users monitoring emitted events.
Proof of Concept
https://github.com/re-nft/smart-contracts/blob/3ddd32455a849c3c6dc3c3aad7a33a6c9b44c291/src/Kernel.sol#L277-L302
Tools Used
Manual Review
Recommended Mitigation Steps
Revert with a custom error if the action is not valid.
Assessed type
Invalid Validation