Skip to content
IDOR Write-up Beginner

How I Found a Cross-Student IDOR in Academy LMS That Leaked Correct Quiz Answers

The Academy LMS WordPress plugin's quiz attempt details endpoint read the target user ID from the request instead of the session, and checked enrollment against that supplied ID. Any enrolled student could supply another student's user ID and attempt ID to read their quiz results and the correct answers.

Shikhali Jamalzade Follow

Published on infosecwriteups.com

This is a write-up of a vulnerability I independently discovered in Academy LMS, a WordPress LMS plugin with 2,000+ active installations. The vulnerability allowed any enrolled student to read another student’s private quiz results and extract the correct answers to quiz questions — before or during an attempt.

Shikhali Jamalzade, on infosecwriteups.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

The endpoint took the target user ID from a request parameter and used it for both data lookup and authorization checks, instead of deriving the user from the authenticated session.

Impact

Any enrolled student could read other students' quiz results and extract correct answers before or during an attempt, affecting confidentiality and academic integrity; the free edition limited the practical surface to authenticated cross-student access within a shared course.

What the attacker needed

A free student account; enrolment in a shared course; knowledge of a victim's user ID and attempt ID

The fix

The vendor fixed it by replacing all request-supplied user identity references with the session-derived user ID and applying the change to both the REST and AJAX entry points.

How it was found

  1. Log in as a normal student and obtain a REST nonce.
  2. Send a request to the quiz attempt details endpoint, supplying another student's user_id and an attempt_id.
  3. Receive that student's quiz attempt data, including the correct answers.

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.

An IDOR (Insecure Direct Object Reference) happens when a website lets you ask for someone else's data just by changing an identifier in the request, like a user number. Here, the quiz results page accepted a user number from the visitor instead of only using the logged-in user's own number. So a student could change the number to another student's and see their quiz answers, including the correct answers.

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.

More by Shikhali Jamalzade

View all

7 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Insecure direct object reference (IDOR)

The lesson behind this report.

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.