Skip to content
Access control Write-up Beginner

Leak of Internal Reference Name at Multiple Locations.

A sub-account user could see the master account's internal reference name in several places, such as signed agreements, JSON responses, support desk, invitation emails, plan change page, notification emails and CSV downloads. The attacker could learn this internal identifier that should only be visible to the master account.

medium.com

Published on medium.com

So today I will be talking about the access control issue, lets say there is a website called xyz.com where they have MASTER account and we can create sub-account under that master account and assign a internal reference name to that sub-account.

xploiterr, 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 application used the internal reference name in place of the sub-account's display name in multiple features without checking whether the viewer was allowed to see it.

Impact

A sub-account user could learn the master account's internal reference name, which may be sensitive internal information, though the text does not describe further harm.

What the attacker needed

A master account; a sub-account with an internal reference name; access as the sub-account user

The fix

The first leak was fixed by removing the internal reference name from the agreement display, and the reporter suggests checking other parts of the application for similar leaks.

How it was found

  1. Create a master account and a sub-account with an internal reference name.
  2. Sign in as the sub-account user and sign an agreement.
  3. Observe that the internal reference name is shown instead of the sub-account name.
  4. Check other locations such as JSON summary, support desk, invitation email, plan change page, notification emails and CSV download for the same leak.

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 master account can create sub-accounts and give each a private label (internal reference name) that only the master should see. The bug is that sub-account users could see that private label in many parts of the site, like emails and downloads. This is an access-control problem: information meant for one role leaked to another.

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.

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.