Open c4-bot-7 opened 8 months ago
H-04: Incorrect gnosis_safe_disable_module_offset constant leads to removing the rental safe's module without verification
gnosis_safe_disable_module_offset
module
An incorrect offset constant allowed to disable any module.
PR-1: Fix the wrong offset for calling disableModule()
disableModule()
Successful Mitigation
gzeon-c4 marked the issue as satisfactory
gzeon-c4 marked the issue as confirmed for report
Lines of code
Vulnerability details
C4 Issue
H-04: Incorrect
gnosis_safe_disable_module_offset
constant leads to removing the rental safe'smodule
without verificationComments
An incorrect offset constant allowed to disable any module.
Mitigation
PR-1: Fix the wrong offset for calling
disableModule()
module
that will be disabled. This is fixed correctly.disableModule()
now works as expectedConclusions
Successful Mitigation