The graduateAndUpgrade function in LevelOne.sol fails to verify if students meet the required graduation criteria, specifically checking for the minimum number of reviews and cut-off score.
No validation of student review count (should have 4 reviews)
No check against cutOffScore requirement
Students can graduate without meeting minimum requirements
Medium: This vulnerability:
Allows students to graduate without meeting requirements
Bypasses the intended evaluation system
Could lead to unqualified students advancing
Manual code review
Add graduation requirements checks, for example:
All students are graduated when the graduation function is called as the cut-off criteria is not applied.
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.