A user can upgrade their Tier to a higher tier, but this is done by just burning the previous token and minting another, not taken into consideration that different tiers could cost different amount.
A creator creates a DAO with tier 0 cost 1 ether, tier 1 costing 0.5 ether and tier 2 costing 0.25 ether
An attacker joins tier 2 of the DAO which costs 0.25 ether
the attacker decides to upgrade tier which will cost 1 ether, but since they're upgrading it only burns their tier 2 tokens and mints tier 0 for them
Loss of funds to the DAO
Manual Code Review
Fix Upgrade function to consider price of each tiers
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.