IDOR to Content Spoofing: Hijacking Brand Trust via a Simple UUID
The widget page combined a configuration UUID and a business context UUID without verifying they belonged together, so an attacker could pair their own configuration with a victim business's identity. This let the attacker display their own buttons and links under the victim's trusted branding, enabling convincing phishing on the legitimate domain.
Published on medium.com
Hello hackers👋 Today, I’m going to describe a fascinating logic flaw I came across during a recent bug hunt. It’s a textbook example of how a simple missing authorization check can be chained to achieve Content Spoofing and facilitate highly convincing Phishing campaigns.
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 fetched the configuration and business context independently by their UUIDs without validating that the configuration was authorised for that business.
Impact
Attackers could host convincing phishing pages on the legitimate domain, showing a real business's branding while directing users to attacker-controlled links, which could lead to credential theft or XSS and damage the victim's reputation.
What the attacker needed
A free account; victim clicks a crafted link
The fix
The server should verify that the configuration UUID is authorised for the supplied business context UUID before rendering the page.
How it was found
- Register an account and create a custom widget configuration with a button labelled 'POC IDOR'.
- Find a legitimate business profile and extract its public business context UUID from its widget URL.
- Combine the attacker's configuration UUID with the victim's business UUID in the widget URL pattern.
- Open the crafted URL in an incognito window and observe the victim's branding with the attacker's button.
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 website used two separate identifiers in its web address: one for the content (buttons and links) and one for the business identity (name and logo). The server never checked that these two identifiers actually belonged together. An attacker could take their own content identifier and combine it with a real business's identity identifier, making their own malicious buttons appear under the trusted business's name.
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.