Description: In InheritanceManager::withdrawInheritedFunds, there are no access controls to prevent non-beneficiaries from causing a withdrawal of funds to beneficiaries. This lack of access control allows unauthorized users to trigger fund dispersals.
Impact: This vulnerability disrupts the protocol by allowing anyone to withdraw funds on behalf of beneficiaries, thereby stripping beneficiaries of control over when funds are withdrawn. This can be exploited by malicious actors to create unexpected and unauthorized fund transfers.
Recommended Mitigation: Implement a modifier that provides the access check to ensure that only beneficiaries can call InheritanceManager::withdrawInheritedFunds.
Add the following modifier to InheritanceManager contract in InheritanceManager.sol:
Add the modifier to InheritanceManager::withdrawInheritedFunds:
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.