Guests can continue to receive video streams from call after being removed from a conversation
A guest removed from a public conversation while in a call could still see and hear participants who joined later, even though other participants saw the guest as removed and not in the call. This allowed the removed guest to spy on subsequent calls.
Originally disclosed on HackerOne
- Triaged in 37 hours
- Fixed in 2 months
- Disclosed after 3 months
Summary by the program
Security advisory at https://github.com/nextcloud/security-advisories/security/advisories/GHSA-wx6w-xpg9-6fv4
The report
Summary:
If the HPB is used and a guest is removed from a conversation while said guest is in a call the guest will no longer appear in the participant list and the call will appear as ended for the other participants. However, for the guest the call UI is still shown. If other participants start a call the guest will automatically establish connections with them (so she will be able to hear and see the other participants), but from the point of view of the rest of the participants the guest is not in the call and she is not shown in their UI.
This can be reproduced only for guests and when the HPB is used. It could be related to https://github.com/nextcloud/spreed/issues/7962
Steps To Reproduce:
- Setup the HPB
- Create a public conversation
- In a private window, open that public conversation as a guest
- Start a call
- In the original window, delete the guest
- Start a call again
Expected result
The guest was kicked out from the call and she can not see nor hear the participants joining after that
Actual result
The guest was, according to the system messages for other participants, kicked out from the call, but the call UI is still shown for her and connections will be established to participants joining after that (and those new participants will not be aware of the guest being still in the call)
Impact
An attacker would be able to spy on calls in a public conversation after being removed from that conversation, provided that she was removed while being in the call.
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 call session for the removed guest was not properly terminated on the server side, so the guest's client continued to establish media connections with new participants.
What the attacker needed
HPB is used; public conversation; guest is in a call when removed
How it was found
- Set up the HPB.
- Create a public conversation.
- In a private window, open that public conversation as a guest.
- Start a call.
- In the original window, delete the guest.
- Start a call again.
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.
In a video call app, when you remove someone from a conversation, they should be completely disconnected from any ongoing call. Here, a guest who was removed while already in a call kept receiving audio and video from people who joined later, without those people knowing. This is like being kicked out of a room but still being able to watch through a hidden window.
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.