A malicious user can change other people's predictions using `ScoreBoard::setPrediction`.
The `ScoreBoard::setPrediction` function allows any user to change the predictions of other users, because there missing checks again unauthorized access, which can be exploited by malicious users to manipulate the final predictions.
This vulnerability allows a malicious user to alter the predictions of other users, potentially leading to unfair advantages and financial losses for the affected users. This issue severely breaks the protocol functionality.
PoC
Manual code review and testing using the forge library.
Restrict access to the `ScoreBoard::setPrediction` function to either the `ThePredicter` contract or the user who sets the prediction and implements proper access control mechanisms.
setPrediction has no access control and allows manipulation to Players' predictions.
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.