The MembershipFactory
contract has a vulnerability allowing DAO creators to set the membership tier price to zero or a very low value, resulting in zero platform fees for each user joining the DAO. This enables users to participate in a DAO without paying the platform fees, allowing free protocol usage.
The vulnerability arises from a lack of price validation for each tier in the createNewDAOMembership
function. DAO creators can set any price, including zero, for a membership tier. Since the platform fee calculation is based on a percentage of the tier price, setting the price to zero results in zero platform fees:
If tierPrice
is zero, platformFees
will also be zero, allowing users to join without contributing to the platform fees.
PoC:
Zero revenue collection on user onboarding to DAOs.
Manual Review
A minimum price check should be introduced for each tier in the createNewDAOMembership
function to address this issue.
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.