The graduateAndUpgrade function does not verify that students meet the required cutOffScore before upgrading, allowing failing students to graduate.
Root Cause: The graduation function doesn't validate student scores against cutOffScore:
Initial State:
Session active
cutOffScore set
Students with scores below cutoff
Ready for graduation
Attack Flow:
Students receive negative reviews, dropping below cutOffScore
Principal calls graduateAndUpgrade
All students graduate regardless of score
Violates core requirement that failing students shouldn't graduate
Failing students can graduate
Compromises academic standards
Violates core invariant
Affects school's educational integrity
Manual review
Add cutoff score validation to ensure only student that meets cut off mark requirement graduate.
All students are graduated when the graduation function is called as the cut-off criteria is not applied.
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.