Skip to content
Access control Write-up Beginner

Using Platform Profiles to send Fake in Information: A Security Risk Good logic bug

The comment feature trusted a client-supplied profile link field, so a user could make their comment display another organisation's profile link. An attacker could impersonate a trusted company and post links that the UI normally blocks.

mahdisalhi0500 Follow

Published on medium.com

Salam Alaikum, everyone! I hope you’re all doing well.

CaptinSHArky(Mahdi🇹🇳), on medium.com

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 trusted the client-supplied commenterlink value instead of deriving the commenter's profile from the authenticated session.

Impact

An attacker could impersonate a trusted organisation in comments and include links that the UI normally blocks, potentially leading users to phishing or malware sites.

What the attacker needed

A free account; ability to post comments; intercepting proxy such as Burp Suite

The fix

The server should ignore the client-supplied commenterlink and build the profile link from the authenticated user's own account.

How it was found

  1. Create an account and open the templates section.
  2. Post a comment and intercept the request.
  3. Change the commenterlink value to another organisation's profile URL.
  4. Send the request and view the comment, which now links to that profile.

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.

When you post a comment, the website sends your profile address along with the text. The site believed whatever address the browser sent instead of looking it up itself. So someone could type a company's address and their comment would link to that company, making it look official.

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.

More by mahdisalhi0500

View all

4 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.