Description: In function LevelOne::giveReview there are is no check if the session period has ended and the 4 weeks have passed. This enables teachers to give reviews to students after the 4 weeks. Students who already had 4 reviews could now have 5, and students who should have not passed because they had only 3 can now have 4 and pass.
Impact: Students are able to get reviews even if the school session period has ended.
Proof of Concept: As we can see in the test, after 4 weeks a student is given a review and it does not revert.
Recommended Mitigation: Add a check in the giveReview to see wether the sessionEnd period has passed or not.
`inSession` not updated after during upgrade
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.