You Say Premium Features? Well, Not Anymore
A free-plan user could add paid templates to their board by swapping the free template ID for a paid template ID in multiple request locations. The server did not properly enforce the paid-plan restriction, allowing access to premium content.
Published on medium.com
Hi, my name is Ahmed. I’m a noob bug bounty hunter, and I’d like to share with you my finding in a Hackerone’s public program
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 server checked the template ID in only some request locations or did not verify the user's plan against the template's paid status.
Impact
A free user could add any paid template to their board, bypassing the paid-plan restriction.
What the attacker needed
A free account; Burp Suite with Match and Replace
How it was found
- Add a free template to a board and observe the request containing the free template ID.
- Find the ID of a paid template by previewing it.
- Replace the free template ID with the paid template ID in the request header and body using Burp Match and Replace.
- Send the modified request and observe that the paid template is added.
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 app lets free users preview paid templates but not use them. By changing the template ID in several places in the request to a paid template's ID, the server accepted it and added the paid template. This is an IDOR (Insecure Direct Object Reference), where changing an identifier gives access to something you should not have.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.