openfun / jitsi-magnify

An authentication and room management system for Jitsi built with Django/React
MIT License
23 stars 6 forks source link

Rooms API open to everyone #245

Open ncasnap opened 2 weeks ago

ncasnap commented 2 weeks ago

Bug Report

Problematic behavior The django API is too open. If we just make a GET Request to https://domain/api/rooms/name_of_room

We can retrieve all the information including the token. This is problematic as with the token we can bypass the restriction of a room.

Expected behavior/code The GET requests of specific room should work only for an authenticated user owning the room.

Steps to Reproduce

  1. Make a GET Request to https://domain/api/rooms/name_of_room

Environment

@jbpenrath, can you help us on this issue ?

Thanks in advance, Regards, Nathan