Skip to content
IDOR Disclosed report Beginner

Sensei LMS IDOR to send message

The Sensei LMS plugin did not verify that the sender of a private message was the original sender or the teacher, so any authenticated user could send a message to any private conversation by changing the numeric thread ID. An attacker could therefore inject messages into other students' private threads with their teacher.

ghimire_veshraj Follow

Originally disclosed on HackerOne

  • Triaged in 3 days
  • Fixed in 56 days
  • Paid in 56 days
  • Disclosed after 59 days

Summary by the researcher

Sensei LMS < 4.5.2 - Arbitrary Private Message Sending via IDOR (CVE-2022-2080)

The plugin does not ensure that the sender of a private message is either the teacher or the original sender, allowing any authenticated user to send messages to arbitrary private conversation via a IDOR attack. Note: Attackers are not able to see responses/messages between the teacher and student

The report

Hi there, hope you are doing great. So, there is an option to send message to teacher privately by student on Sensei LMS. Each message sent by student will have different ID, Student1 cannot access or send message to the message from Student2 (which is meant to be private with teacher) Similarly Student2 cannot view/send message sent by student1 to the teacher.

But due to lack of access control, it is possible for any student to reply on any thread of Student to teacher just by simply changing ID of the thread which is numeric.

This may sound a bit complex but i will try to explain this with video POC, please let me know if you still didn't understood the vulnerability here:

recording-1654542444545.webm From the original on HackerOne

Impact

Any student can reply to other student's thread which is meant to be private between the original student [who sent message] and teacher.

The original report as published on HackerOne, by ghimire_veshraj. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the message-sending function lacked an ownership check, allowing any authenticated user to act on any thread ID.

Impact

Any student could reply to another student's private thread with a teacher, though they could not read the existing messages or responses in that thread.

What the attacker needed

A free student account; knowledge of a thread ID

How it was found

  1. Log in as a student and start a private message thread with a teacher.
  2. Note the numeric ID of the thread.
  3. Log in as a different student and send a message using another student's thread ID.

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 report has not been written yet. The Original tab links to the source.

A private message thread between a student and a teacher is supposed to be visible only to those two people. The plugin used a simple number to identify each thread, and it did not check whether the person sending a new message was actually part of that thread. By changing that number, any logged-in student could post a message into someone else's private conversation.

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 ghimire_veshraj

View all

2 more disclosed reports, best first.

More from Automattic

View all

The newest disclosed reports for this program.

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.