createPool() in DistributionV2.sol can be called by anyone
Attacker can createPool () with bad parameters which would be not useful for users as the function can be called by anyone.
User deposit/stake their fund into the attacker pools which would be not useful for user. Attacker will create pool with according to their struct values.
Manual review
Give access control to the createPool() like you did in Distributin.sol.
https://github.com/Cyfrin/2024-01-Morpheus/blob/main/contracts/Distribution.sol#L73
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.