Description
ClassroomIO through 1.0.0 contains an insecure direct object reference vulnerability in the Hono API course submission routes that allows course tutors or admins to modify submissions in other courses. Attackers can supply their own course id with another course's submission UUID to PUT or DELETE handlers to overwrite answers, grades, feedback, and grading status or delete submissions.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| classroomio | ClassroomIO | ≤ 1.0.0 | — |
References
- https://hackmd.io/@hieuPenguinnn/classroomio-course-resource-id-scoping-idor third-party-advisory
- https://github.com/classroomio/classroomio/blob/v1.0.0/apps/api/src/routes/course/submission.ts technical-description
- https://github.com/classroomio/classroomio/blob/v1.0.0/packages/db/src/queries/submission/submission.ts#L217-L245 technical-description
- https://github.com/classroomio/classroomio/commit/1844ad9671a0d9c2566d3431d82f34d39016242c patch
- https://github.com/classroomio/classroomio product
- VulnCheck Advisory: ClassroomIO through 1.0.0 IDOR via Course Submission Update, Grade and Delete Routes third-party-advisory