From Uncovering To Securing Tackling Three Vulnerabilities In Educational Domain
Three vulnerabilities were found on an educational platform: an IDOR that let an attacker submit quiz answers on behalf of other users, an API that leaked correct quiz answers via a Base64-encoded 'credited' field, and a broken access control flaw that allowed free enrolment in paid courses by using a coupon parameter. An attacker could combine the latter two to enrol in paid courses without payment and pass exams using the leaked answers.
Published on infosecwriteups.com
In the ever-evolving landscape of digital education, ensuring the security of online platforms is paramount. As a security researcher, I have dedicated my efforts to uncovering vulnerabilities that could question the integrity and safety of online educational domains.
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 missing server-side authorisation checks on quiz answer submission, failure to strip correct-answer flags from API responses, and trusting a coupon parameter without validating payment or entitlement.
Impact
An attacker could answer quizzes as other users, learn correct answers before taking exams, and enrol in paid courses without payment; combining the last two allowed obtaining certifications for free.
What the attacker needed
A free account; knowledge of another user's answer ID; access to a quiz API endpoint; a coupon value in the enrolment URL
The fix
The report states the security team fixed the issues after they were reported.
How it was found
- Register a free account on the educational platform.
- For the IDOR, intercept the request that submits a quiz answer and change the numeric answer ID to another user's.
- For the answer leak, open a quiz and observe the API request that fetches questions and options.
- Decode the Base64 'credited' values in the response to see which options are marked true.
- For the payment bypass, open a course enrolment URL that includes a coupon parameter and note that it enrols you without payment.
- Replace the certification ID in the URL with IDs from the store to enrol in other paid courses.
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 describes three separate security mistakes on a learning website. One let a user change a number in a request to answer quiz questions as someone else. Another exposed the correct answers inside the data the website sent to the browser, hidden only by simple encoding. The third let anyone join expensive courses for free by adding a special code to the web address. Together, the last two meant someone could get a paid certificate without paying or knowing the material.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.