Skip to content
Access control Write-up Beginner

How I Bypassed Permissions in a Telehealth Platform

A low-privileged user could send invitations to any doctor's private consultation room by changing the room identifier in the invite request, because the server did not check whether the user had permission for that room. An attacker could invite unauthorised people into private telehealth sessions, exposing patient privacy.

medium.com

Published on medium.com

As a bug hunter, there’s nothing more thrilling than uncovering a flaw that could turn a secure system upside down. Recently, I stumbled upon a critical vulnerability in a telehealth software at secret.com — a platform designed to connect patients with doctors through virtual consultations.

Whoami, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

The server trusted the client-supplied room identifier and did not verify that the requesting user had permission to invite callers to that room.

Impact

An attacker with any team member account could invite unauthorised people into private consultations, potentially exposing sensitive patient information and disrupting clinic operations; the lack of CSRF protection could also enable cross-site request forgery, though the author did not explore that.

What the attacker needed

A valid session as any team member; knowledge of a target room identifier; no CSRF token required

The fix

The platform added permission checks so users can only invite callers to rooms they are authorised for, stopped leaking room identifiers in API responses, and enforced CSRF token validation; the author retested and confirmed the endpoint now restricts invitations correctly.

How it was found

  1. Log in as a low-privileged user who only has access to one room.
  2. Send a POST request to the invite endpoint with the authorised room's identifier.
  3. Change the room identifier in the request to a room the user is not allowed to access.
  4. Observe that the server responds with a success message and sends the invitation.

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 write-up has not been written yet. The Original tab links to the source.

A telehealth platform lets doctors hold private video calls with patients. The platform has a feature to invite patients by email, but it only checked that you were logged in, not that you were allowed to invite people to that particular doctor's room. By changing a room name in the request, a low-privileged user could send invitations to any room, letting unauthorised people join private medical consultations.

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.

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.