The createNewDAOMembership function in MembershipFactory is vulnerable to reorganization (reorg) attacks due to its use of deterministic proxy addresses. When a user attempts to create a DAO, an attacker can observe the transaction, calculate the expected proxy address, and front-run with their own DAO creation. During a chain reorganization, this could result in the attacker gaining control of a DAO address that receives the original creator's intended funds.
Code: https://github.com/Cyfrin/2024-11-one-world/blob/main/contracts%2Fdao%2FMembershipFactory.sol#L72
Fund Loss:
Initial treasury funds can be stolen
Membership fees go to attacker's DAO
User loses intended DAO control
DAO Control:
Attacker gains admin rights
Can manipulate membership
Controls treasury decisions
Manual Review
Add creation commit-reveal.
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.