Business Logic Flaw in Snapchat $
The organisation name field was shown as unchangeable in the user interface, but the backend accepted a modified name value in the organisation update request. An attacker with access to the organisation settings could therefore change the organisation name despite the interface restriction.
medium.com
Published on medium.com
In this writeup, I’ll show how I chained a seemingly minor business logic flaw in one of snapshat hosts.
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 organisation update endpoint accepted and saved the name parameter without checking whether the user was allowed to change it, relying on the interface to hide the option.
Impact
An attacker able to reach the organisation settings could change the organisation name even though the interface presented it as fixed; the report does not show any wider impact.
What the attacker needed
Access to an organisation account; ability to intercept requests
The fix
The organisation update endpoint should check that the caller is authorised to change the name and reject the parameter when it is not permitted.
How it was found
- Open the phone number update section and intercept the request with a proxy.
- Notice the request is actually an organisation update call containing the organisation object.
- Change the name value in the intercepted request and forward it.
- Refresh the organisation info page to confirm the name was changed.
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.
Some apps show a value as locked in the screen, but the server behind the screen may still accept a change if you send the request yourself. Here the tester edited the request that updates an organisation and changed the name, and the server saved it. This is a business logic flaw: the rules the app intends are not enforced where the data is actually saved.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.