Skip to content
Access control Write-up Beginner

Tale of Easy P1 Bugs in Wild

A second-level subdomain returned a 403 error, but appending a semicolon to the URL revealed a directory listing that exposed a testing accounts page with valid credentials. The attacker used those credentials to log in and then accessed a team contact information endpoint directly, bypassing a password prompt, to obtain personal email addresses and phone numbers.

Harsh Tandel Follow

Published on medium.com

So after long time, i got back on bugcrowd where i had private program so i looked at scope it was wildcard (.redicated.com) scope.I started my subdomain finding phase.

Harsh Tandel, 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 mishandled path parameters (semicolons) and exposed a directory listing or hidden page, and the team contact endpoint lacked proper access control.

Impact

An attacker could obtain valid testing account credentials and then access personal email addresses and phone numbers of team members without knowing the required password.

What the attacker needed

Access to the target subdomain; no authentication needed for initial discovery

How it was found

  1. Found a second-level subdomain that returned 403 Forbidden.
  2. Appended a semicolon to the URL, which returned a different error message.
  3. Tried common page names and found an index page with a 'Testing Accounts' module.
  4. Used the testing account credentials to log in.
  5. Noticed a 'Team Info' module that asked for a password.
  6. Inspected the page to find the endpoint 'TeamContactInfo' and accessed it directly, revealing personal contact details.

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 web server can behave differently depending on small characters in the URL, like a semicolon. Here, adding a semicolon made the server show a hidden page instead of a 403 error. That page contained test account details, which let the attacker log in and then view private contact information without needing the password that the normal page asked for.

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.