Submitted by 0x52
Party is DOSd and may potentially lose access to NFT.
Crowdfund.sol#L280-L298
BuyCrowdfundBase.sol#L166-L173
When BuyCrowdFund.sol successfully completes a buy, totalVotingPower is set to \_getFinalPrice which in the case of BuyCrowdFundBase.sol returns the price at which the NFT was purchased. totalVotingPower is used by the governance contract to determine the number of votes needed for a proposal to pass. If there are not enough claimable votes to meet that threshold then the party is softlocked because it cant pass any proposals. An attacker could exploit this to DOS even a private party with the following steps:
Since the voting power for the final amount of ETH cannot be claimed, the party is now softlocked. If emergencyExecuteDisabled is true then the party will be permanantly locked and the NFT would effectively be burned. If emergencyExecuteDisabled is false then users would have to wait for PartyDAO to reclaim the NFT.
Permission to call BuyCrowdFund.sol#buy should be gated if there is a gatekeeper.
merklejerk (PartyDAO) confirmed and commented:
0xble (PartyDAO) resolved:
HardlyDifficult (judge) increased severity to High and commented:
merklejerk (PartyDAO) commented:
