KatanaGovernance::_isAuthorized function allows user to perform action even after expiry time has passed. #43
Labels
3 (High Risk)
Assets can be stolen/lost/compromised directly
bug
Something isn't working
duplicate-22
edited-by-warden
🤖_18_group
AI based duplicate group recommendation
sufficient quality report
This report is of sufficient quality
unsatisfactory
does not satisfy C4 submission criteria; not eligible for awards
Lines of code
https://github.com/ronin-chain/katana-operation-contracts/blob/27f9d28e00958bf3494fa405a8a5acdcd5ecdc5d/src/governance/KatanaGovernance.sol#L375-L381
Vulnerability details
Proof of Concept
If current block time is greater than expiry time then _isAuthorized function returns true.
This logic allow users to perform action even after the expiry time has ended which could allow users to perform unauthorized actions and make project unstable and.
Recommended Mitigation Steps
Assessed type
Access Control
The text was updated successfully, but these errors were encountered: