HexBrain

Automattic 路 Report #1590237

Unauthenticated Private Messages DIsclosure via wordpress Rest API

Validstatus
mediumseverity
45upvotes
4 Aug 2022disclosed

Summary

Tribute to Late Internet Hero Binit 馃 鉂o笍 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.

How it was found

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. {F1754958}

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.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original