The Laundrette.sol
has the function Laundrette::quitTheGang
which can be called by any GangMember
but there are no access control checks being made which check is the address passed to the function belongs to the caller or not.
Any GangMember
can remove any other GangMember
or even the godFather
from the gang.
Poc to show any GangMember
or the godFather
can be made to quit the gang by any other GangMember
.
Adding the Laundrette::isAuthorizedOrRevert
modifier to the Laundrette::quitTheGang
function will mitigate 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.