Here we go , 2 bugs in the same program
The author found two issues: a vertical broken access control flaw in a GraphQL mutation that let a viewer be changed to a signer, and a server-side template injection in a search field that was reachable by splitting and URL-encoding the template delimiters to bypass a filter. The SSTI was on an out-of-scope subdomain, so only the access-control issue was reported and rewarded.
“بِسْ� ِ اللَّهِ، وَالْحَ� ْدُ لِلَّهِ، وَالصَّلَاةُ وَالسَّلَا� ُ عَلَى رَسُولِ اللَّهِ، اللَّهُ� َّ عَلِّ� ْنَا � َا يَنْفَعُنَا، وَانْفَعْنَا بِ� َا عَلَّ� ْتَنَا، وَزِدْنَا عِلْ� ًا”
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 GraphQL mutation trusted a client-supplied role value (requestType) without checking that the caller was allowed to assign that role.
Impact
A user with only viewer rights could be turned into a signer, which the author says violates policy and could harm business uses of the platform; the SSTI was on an out-of-scope subdomain and was not exploited further.
What the attacker needed
An account on the document platform; ability to upload a document; a signature approved by the platform; Burp Suite to edit the request
How it was found
- Upload a document and choose the first option.
- Add a signature and wait for it to be approved.
- Add a viewer to the document.
- Capture the GraphQL updateAssignedUsersV1 request in Burp Suite.
- Change the requestType value from VIEWER to SIGNER and resend the request.
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.
Access control is the set of rules about what each user is allowed to do. Here, a document-sharing site let the author change a request so that a person who was only meant to view a document became a signer, which is a more powerful role. Separately, a search box on another subdomain evaluated template expressions, which can let an attacker run code on the server, but that subdomain was outside the bug bounty scope.
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.