ChoosingRam::increaseValuesOfParticipants accepts any token in parameters if they pass those condition:
First token is owned by the caller.
Used tokens have an id lower than the tokenCounter
Problem is, the tokenIdOfAnyPerticipent can be equal to tokenCounter and this counter return the next id to be minted. Then the token with this ID do not exists.
Since the other function like getCharacteristics do not check if a token exists, anyone can fight against a non-existing token and increase its values.
But when the new token will be refreshed at the minting process, mitigating a part of this bug, but allowing anyone to take no risk at all to become Ram easier.
Likelyhood: High
Anyone can call increaseValuesOfParticipants with a non-existing tokenIdOfAnyPerticipent.
Impact: High
Permits to fight a non-existing token and increase values of the attacker token without any risk.
Correct the wrong lines:
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.