Unauthenticated Private Messages DIsclosure via wordpress Rest API
The Sensei LMS plugin lacked proper permission checks on a REST API endpoint, letting unauthenticated users read private questions sent to teachers by brute-forcing numeric IDs.
Originally disclosed on HackerOne
- Triaged in 4 days
- Fixed in 18 days
- Paid in 18 days
- Disclosed after 2 months
Summary by the researcher
Tribute to Late Internet Hero Binit 🫡 ❣️ You were my source of inspiration and motivation. Though we can't see you or meet you, you will always stay alive and smiling in our memories and hearts. May your soul rest in peace.🕊
Sensei LMS <= 4.4.3 - Unauthenticated Private Messages Disclosure via Rest API (CVE-2022-2034)
The plugin does not have proper permissions set in one of its REST endpoint, allowing unauthenticated users to access private messages sent to teachers.
The report
Vulnearble Plugin: Senei LMS
Hi there,
Hope you are doing well,
So, i noticed that their is an option to contact teacher on Sensei LMS which is meant to private.
By default, other user can't see the question I asked to the teacher.
But using the /wp-json/wp/v2/sensei-messages/<numericID> where numeric ID can be bruteforced.
Those private questions asked to teacher is still visible to any Unauthenticated User.

Steps to reproduce:
Create any course then as a student, ask question on that course.
Now, the message is visible through /wp-json/wp/v2/sensei-messages/<numericID>
Sensei LMS lacks authentication in a REST API endpoint, allowing unauthenticated users to discover private questions sent between teacher and student on the site.
Impact
Disclosure of Private Questions to Unauthenticated User.
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 REST API endpoint for sensei-messages did not enforce any authentication or capability check, so it returned message content to any requester.
Impact
Private questions sent to teachers could be disclosed to any unauthenticated user who guesses or brute-forces the numeric message ID.
What the attacker needed
Sensei LMS plugin <= 4.4.3; A course with a student question exists; Attacker can guess or brute-force numeric IDs
How it was found
- Create a course.
- As a student, ask a question on that course.
- Access the message through the REST API endpoint using its numeric 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 WordPress plugin for online courses had a web address that returned private messages without checking if the person asking was logged in. Anyone who guessed the right number in the address could read messages meant only for teachers and students.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.