Skip to content
Access control Disclosed report Beginner CVE-2022-24890

Moderator can enable cam/mic remotely if cam/mic-permission was disabled while user has activated cam/mic

A moderator could remotely re-enable a participant's camera and microphone after permissions were revoked and then granted again, if the participant had not manually disabled them. This allowed a moderator to turn on a user's webcam without their consent, raising a privacy concern.

michag86 Follow

Originally disclosed on HackerOne

Bounty$100 Low 3.1 View original
  • Triaged in 3 hours
  • Fixed in 33 days
  • Paid in 34 days
  • Disclosed after 3 months

Summary by the program

Advisory at https://github.com/nextcloud/security-advisories/security/advisories/GHSA-vxpr-hcqq-7fw7

The report

Summary:

[add summary of the vulnerability]

Steps To Reproduce:

  1. Create a Call as User A (Moderator)
  2. Add User B to the call
  3. Start the call as User A
  4. User B joins the call and enables the camera
  5. User A removes all permissions for User B, cam and mic are now disabled
  6. User A grants all permissions to User B

--> now mic and cam are enabled remotely, if User B didn't disable it before removing permissions by User B

Used Software Versions:

Nextcloud 23.0.3 spreed-App 13.0.4 nextcloud-spreed-signaling 0.4.0

Impact

A call moderator can remotely enable user webcams, if there were enabled before removing the permissions. This is a big privacy issue.

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

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 5 min read.

What the report shows

The target is Nextcloud Talk, the conferencing feature shipped in the nextcloud/spreed app and backed by nextcloud-spreed-signaling. The feature under test is the moderator's permission control over a participant's camera and microphone during a call.

The researcher found that a moderator can switch a participant's camera and microphone back on remotely, provided those devices were active before the moderator revoked the participant's permissions. The report describes this as a privacy issue.

The reproduction steps are short and entirely UI-driven:

  1. Create a call as User A (Moderator).
  2. Add User B to the call.
  3. Start the call as User A.
  4. User B joins the call and enables the camera.
  5. User A removes all permissions for User B, cam and mic are now disabled.
  6. User A grants all permissions to User B.

After step 6, the report states that mic and cam are enabled remotely, unless User B disabled them before the moderator removed the permissions.

The versions in use were Nextcloud 23.0.3, spreed-App 13.0.4 and nextcloud-spreed-signaling 0.4.0. The report carries a low severity with a CVSS score of 3.1, a Privacy Violation weakness, and a bounty of 100.00 USD. It was disclosed on 2022-06-09, and the program points to a published advisory at https://github.com/nextcloud/security-advisories/security/advisories/GHSA-vxpr-hcqq-7fw7. The report itself does not describe the code change behind the fix.

Root cause

The report does not analyse the code, so the mechanism has to be inferred from the behaviour. The report does not analyse the code, so the mechanism is not established by the report. When permissions are granted again, the client or the signalling server re-applies the remembered state and resumes publishing without a fresh action from the participant.

In that case the stream keeps flowing and simply becomes visible again once the UI allows it.

Impact

Within a call, a moderator can turn a participant's camera and microphone back on after having switched them off, without the participant acting. The report frames this as a big privacy issue. The stated precondition is that the devices were enabled before the permissions were removed, and the report notes the effect does not occur if the participant disabled them first.

How this kind of bug works

Real-time conferencing systems split responsibility between a client (which captures media and decides what to publish) and a server or signalling layer (which routes streams and enforces who may publish). Permission changes are events that travel between the two. Bugs appear when those events are treated as display hints rather than as authoritative state transitions.

Three patterns recur. First, state restoration: the client persists the user's last media preference and re-applies it whenever it believes it is allowed to publish, ignoring that the permission was withdrawn in between. Second, one-way enforcement: the revoke path mutes or hides the track locally but the grant path re-enables it from a cached flag. Third, stale authorisation: the server accepts a publish request because it validates the participant's role or room membership but not the current per-participant media permission.

Revocation should stop the track at the source (disable the capture device, not just mute the sender), clear any stored intent to publish, and be enforced server-side so a client that re-sends a publish request is rejected. Granting permission should require a fresh user action before media resumes.

How to test for it

This class is found by exercising state transitions around a permission or role boundary, not by fuzzing inputs.

  1. Identify the feature where one role controls another's capabilities: moderator muting participants, host disabling screen share, admin revoking a guest's access, a parent account restricting a child profile.
  2. Establish the precondition the bug needs: have the controlled party actively use the capability (publish media, open the shared resource) before the controller revokes it.
  3. Perform the revoke and confirm it takes effect from both sides: the controller's view and the controlled party's own client.
  4. Re-grant the permission and observe whether the capability resumes on its own. Watch the controlled party's client, the controller's view, and any server-side signalling or API traffic.
  5. Repeat with variations: revoke and re-grant quickly, revoke while the controlled party is reconnecting, re-grant from a different moderator session, and reload the controlled party's client between steps.

A positive result is the capability returning without an explicit action by the controlled party, ideally confirmed by observing media or traffic rather than only the UI. Common false positives are a UI that merely shows the old state while the stream is actually stopped, a client that re-prompts the user and the user accepting, and cached thumbnails or last-frame previews that look like live video. Confirm at the transport level before reporting.

How it is fixed

Revocation should tear down the media track at the capture side and clear persisted publish intent, so nothing is left to restore. The server should check the current per-participant permission on every publish or subscribe request rather than trusting a cached role. Re-granting should not auto-resume; the participant should have to enable the device again. Clients should reconcile their local state against the server's authoritative permission state on reconnect and on every permission event.

Hunting notes

These bugs cluster in collaborative and real-time products: video conferencing, live streaming, remote support tools, shared document editors with presence, and any admin panel that toggles capabilities for other users. Recon signals include role models with more than two levels, per-participant permission flags, features described as "mute all" or "lock room", and clients that keep local preferences for devices or notifications.

To make the report land, show the precondition clearly, show the exact sequence, and demonstrate the outcome from the affected user's perspective, for example that their device indicator is active while they took no action. Note which versions you tested and whether the behaviour depends on the participant's prior choice. Keep the claim to what you observed: a privacy violation within the session is enough, and overstating it weakens the report.

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 7 min read.

What happened, in plain words

Nextcloud is a suite of software for running your own file storage and collaboration tools on a server. One of its features is Nextcloud Talk, a video calling tool, similar in purpose to Zoom or Google Meet. Talk is delivered through an app called nextcloud/spreed, and the calls themselves are routed by a separate piece of software called nextcloud-spreed-signaling. Think of the app as the meeting room and the signalling server as the switchboard that connects everyone's audio and video streams.

In a call, one person is the moderator. The moderator has extra controls, including the power to switch off another participant's camera and microphone. The report describes what happens when the moderator switches those devices off and then switches them back on again.

The finding: if a participant had their camera and microphone on before the moderator removed their permissions, then when the moderator grants permissions again, the camera and microphone come back on by themselves. The participant does not press anything. The report calls this a big privacy issue.

The report was filed against Nextcloud and rated low severity, with a CVSS score of 3.1. CVSS is a standard scoring system for security bugs, where a low number means limited impact or hard conditions. The weakness category is Privacy Violation, and the bounty paid was 100.00 USD. It was disclosed on 2022-06-09, and the program points to a published advisory at https://github.com/nextcloud/security-advisories/security/advisories/GHSA-vxpr-hcqq-7fw7.

The steps to reproduce

The report gives six steps, all done through the normal user interface, with no special tools:

  1. Create a call as User A (Moderator).
  2. Add User B to the call.
  3. Start the call as User A.
  4. User B joins the call and enables the camera.
  5. User A removes all permissions for User B, cam and mic are now disabled.
  6. User A grants all permissions to User B.

Why each step matters. Steps 1 to 3 set up the two roles: one person who controls the call and one person who joins it. Step 4 is the crucial precondition: User B actively turns the camera on before permissions are removed. Step 5 is the moderator taking that ability away. Step 6 gives it back. When the block is lifted, the earlier choice to publish is restored automatically.

The report adds one important condition: the effect happens if User B did not switch the camera and microphone off themselves before the moderator removed permissions. If User B had turned them off first, there would be nothing for the software to restore.

The versions in use were Nextcloud 23.0.3, spreed-App 13.0.4 and nextcloud-spreed-signaling 0.4.0. The report does not describe the code change behind the fix.

Why it happens

The report does not analyse the code, so the cause has to be reasoned from the behaviour. The report does not analyse the code, so the cause is not established. Removing permissions only suppresses the stream; it does not erase the stored choice. Granting permissions again re-applies the stored choice, and the camera resumes without the participant doing anything.

What the impact is, and is not

The report states that a moderator can turn a participant's camera and microphone back on after switching them off, without the participant acting. The stated precondition is that the devices were on before the permissions were removed.

In general, how this kind of bug works

Video calling systems divide the work between two parts. The client is the program on your computer or phone: it reads your camera and microphone and decides what to send. The server, or signalling layer, is the central service that connects everyone and decides who is allowed to send what. Permission changes are messages that travel between these two parts. Bugs appear when those messages are treated as display hints rather than as firm rules.

Three patterns come up again and again:

  • State restoration: the client remembers your last preference and re-applies it whenever it thinks it is allowed to publish, forgetting that permission was withdrawn in between.
  • One-way enforcement: switching off works locally, but switching on reads a cached flag and resumes automatically.
  • Stale authorisation: the server accepts a request to publish because it checks your role in the room but not your current per-person media permission.

Revoking should stop the camera at the source, not just mute the sender; it should clear any stored intent to publish; and the server should reject a publish request that no longer matches the current permission. Granting permission should require a fresh action from the participant before media resumes.

How to test for it

This class of bug is found by walking through permission changes, not by throwing random input at the software.

  1. Find a feature where one role controls another's abilities: a moderator muting participants, a host disabling screen sharing, an admin revoking a guest's access.
  2. Set up the precondition: have the controlled person actively use the capability before the controller revokes it.
  3. Revoke, and confirm it takes effect on both sides: the controller's view and the controlled person's own screen.
  4. Grant the permission again and watch whether the capability comes back on its own. Check the controlled person's screen, the controller's view, and any network traffic.
  5. Repeat with variations: revoke and re-grant quickly, revoke while the controlled person is reconnecting, re-grant from a different moderator session, and reload the controlled person's client between steps.

A positive result is the capability returning without the controlled person doing anything, ideally confirmed by watching the actual media or traffic rather than only the interface. Common false positives are an interface that merely shows the old state while the stream is really stopped, a client that asks the user again and the user accepts, and cached thumbnails or last-frame previews that look like live video. Confirm at the network level before reporting.

How it is fixed

Revoking should tear down the media track at the capture side and clear any saved intent to publish, so there is nothing left to restore. The server should check the current per-person permission on every publish or subscribe request instead of trusting a cached role. Re-granting should not resume automatically; the participant should have to enable the device again. Clients should compare their local state against the server's authoritative permission state on reconnect and on every permission change.

Where to look for these bugs

They cluster in collaborative and real-time products: video conferencing, live streaming, remote support tools, shared document editors that show who is present, and any admin panel that toggles abilities for other users. Useful signals include role models with more than two levels, per-participant permission flags, features described as "mute all" or "lock room", and clients that keep local preferences for devices or notifications.

To make a report land, show the precondition clearly, show the exact sequence, and demonstrate the outcome from the affected person's point of view, for example that their device indicator is active while they took no action. Note which versions you tested and whether the behaviour depends on the participant's earlier choice. Keep the claim to what you observed: a privacy violation within the session is enough, and overstating it weakens the report.

Glossary

  • Nextcloud: a suite of self-hosted collaboration software, including file storage and video calls.
  • Nextcloud Talk: the video calling feature of Nextcloud, delivered through the nextcloud/spreed app.
  • Signalling server: the central service that connects participants in a call and routes their audio and video streams.
  • Moderator: the participant in a call who holds controls over other participants, such as muting them.
  • Permission: a rule saying whether a participant is allowed to do something, here to send camera and microphone media.
  • Client: the program on a user's own device that captures media and sends it to the server.
  • Server: the central computer that receives, routes and enforces rules for the participants' traffic.
  • State: stored information about the current situation, such as whether a camera is on or off.
  • State restoration: re-applying a previously saved state automatically, without the user asking for it.
  • Stale authorisation: accepting an action based on out-of-date permission information.
  • Privacy violation: a weakness where information or media is exposed against the user's expectation.
  • CVSS: a standard scoring system for security bugs; 3.1 here is a low score.
  • Bounty: a payment made by a program to a researcher who reports a valid bug.
  • Advisory: a public notice describing a security issue and its fix.
  • False positive: a result that looks like a bug but is not, for example an interface showing an old state while the stream is actually stopped.

More by michag86

View all

4 more disclosed reports, best first.

More from Nextcloud

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.