Abusing Business Logic of an Application to create backdoor in a form APP
Non-admin collaborators (designers and copywriters) could generate a report URL for a form even though they should not have that permission. After being removed from the workspace, they could use that URL to view all responses submitted later, including sensitive information.
Working with a target having various access roles and functionalities always gives us goosebumps. This time it was a design flaw in the application logic that we reformed to create a backdoor which revealed us all of the response details submitted on the form or survey created by the admin.
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
Likely the application allowed any invited collaborator, not just admins, to generate a report URL that remained valid and updated with new responses even after the collaborator was removed.
Impact
A removed collaborator could passively read all form responses, including sensitive personal information, without the admin's knowledge.
What the attacker needed
Attacker is invited as editor or designer; attacker can generate a report URL; admin later removes attacker from workspace; admin publishes form and collects responses
The fix
The platform should restrict report URL generation to admins only and stop sending new responses to report URLs created by non-admin users.
How it was found
- Admin invites an Editor and a Designer to the workspace to help create a form.
- The Editor and Designer finish their work and generate a report URL, saving it for later.
- Admin removes the Editor and Designer from the workspace.
- Admin publishes the form and starts receiving responses.
- The removed Editor and Designer use the saved report URL to view all responses, including new ones.
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 form-building platform lets an admin invite helpers like designers and copywriters to work on a form. These helpers are not supposed to see the answers people submit. But the helpers could create a special link that shows all answers, and that link kept working even after the admin removed them. So they could quietly read every response later.
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.