🚨 “How I Rerouted Calls in a Live Telephony System With a ‘View-Only’ Role” — The Hidden API Loophole No One Checked
A low-privilege user with only basic telephony access could create dispatch routes via the API, even though the UI hid the button and the user lacked the required configuration capabilities. This allowed the user to reroute calls, potentially siphoning them to an unintended handler or causing denial of service.
Published on meetcyber.net
ActionRequiresView telephony dashboardtelephony:basicCreate or update destination groupsqueues:configureAssign handlers or change handler mappingsroster:configureCreate or modify dispatch routes (ties groups + handlers)All of the above (telephony:basic + queues:configure + roster:configure)
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 backend endpoint for creating dispatch routes did not enforce the required capability checks, relying only on the UI to hide the functionality.
Impact
An attacker with only basic telephony access could create dispatch routes, potentially rerouting calls to an unintended handler, causing denial of service, or diverting calls in violation of compliance requirements.
What the attacker needed
A low-privilege user account with telephony:basic
The fix
The fix is to enforce capability checks on the backend for every protected endpoint, validate resource ownership, and add negative tests and logging.
How it was found
- Log in as the low-privilege user.
- Confirm the UI does not show 'Create Dispatch'.
- Send a POST request to /api/telephony/dispatch with the low-privilege user's token and a JSON body specifying destination group, handler, and dispatch policy.
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.
The application had a button for creating call routing rules that was hidden from users without special permissions. However, the server that processes the request did not check those permissions, so a user could still send the request directly and create the rule. This is like a door that is locked from the outside but has no lock on the inside.
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.