code-423n4 / 2021-12-pooltogether-findings

0 stars 0 forks source link

Creator can run with extended funds #142

Closed code423n4 closed 2 years ago

code423n4 commented 2 years ago

Handle

pauliax

Vulnerability details

Impact

The creator can cancel the extended promotion. Anyone can extend any promotion while it is still active. While this may be the intended behavior, I wanted to point out that the creator of the promotion can run with the tokens from extendPromotion, by calling cancelPromotion while the promotion is still active.

Recommended Mitigation Steps

Mitigation could be that onlyPromotionCreator can extendPromotion, but again I am not sure maybe this risk is known and intended.

PierrickGT commented 2 years ago

Duplicate of https://github.com/code-423n4/2021-12-pooltogether-findings/issues/126