The joinDAO() function lacks access control checks for PRIVATE DAOs, allowing unauthorized users to join private DAOs directly.
In MembershipFactory.sol, joinDAO() has no validation for DAO type:
The function ignores the DAOType.PRIVATE flag which is intended to restrict membership access, making the PRIVATE type effectively meaningless.
Allows unauthorized users to join private DAOs by simply calling joinDAO()
Completely bypasses intended access control for private communities
Manual code review
Add DAO type validation in joinDAO() to enforce private access control.
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.