InQuizitive: Client-Side Injection, LMS Trust Bypass, and Stored
The InQuizitive assessment platform performs all grading logic in client-side JavaScript and trusts the resulting score objects when submitting to the server and LMS, allowing a student to set arbitrary scores and completion status. The same unsanitised history fields could lead to stored XSS if rendered in instructor dashboards or LMS pages.
Read more on my blog: 0daylab.com
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the grading logic and score state live entirely in client-side JavaScript, and the backend accepts submitted scores without verifying their integrity or origin.
Impact
A student could award themselves a perfect grade and completion status that appears legitimate in both InQuizitive and a linked LMS, and unsanitised history fields could lead to stored XSS in instructor or LMS contexts if rendered without sanitisation.
What the attacker needed
A student account on InQuizitive; access to a quiz, ideally via an LMS; browser developer tools
How it was found
- Open a quiz from InQuizitive, preferably through an LMS.
- Open the browser developer tools console.
- Run code that sets the score, grade, time and question results and calls the grade computation and write functions.
- Reload the chapter summary or LMS grade book to see the perfect grade reflected.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
This report is about a quiz website that lets students change their own grades by editing values in the browser's developer console. The website believed whatever the browser sent back, so a student could give themselves full marks without answering any questions. The same trick could also let someone plant malicious code that runs when a teacher views the results.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.