Skip to content
Access control Write-up Beginner

**Exposed Admin Panel, $8000 Bounty โ€” The Power of Shodan Recon!โ€ ๐Ÿ”ฅ**

An admin panel accepted a login with only the Shop ID and a blank User ID, letting the author in without valid credentials. After logging in, directory fuzzing exposed an endpoint that gave access to all user data, including personal information.

Rahul Gairola Follow

Published on medium.com

Finding hidden assets is one of the most crucial aspects of reconnaissance, and in 2021 I discovered an admin panel takeover vulnerability that earned me an $8000 bounty. The company responded swiftly by shutting down IP access until the issue was resolved.

Rahul Gairola, 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 authentication logic did not require or validate the User ID field, so a request with only a Shop ID was treated as a valid login.

Impact

An unauthenticated attacker could reach a staging admin panel and view all user data, including personal information; the company rated it high severity.

What the attacker needed

Internet-exposed admin panel; known Shop ID; no valid credentials needed

The fix

The company fixed the bug, though the text does not describe the change; the login should require and validate both the User ID and Shop ID.

How it was found

  1. Search Shodan with a certificate and page-content query to find subdomains of the target.
  2. Open a subdomain that redirects to a login panel asking for a User ID and Shop ID.
  3. Submit a login request with only the Shop ID and the User ID left blank.
  4. Fuzz directories inside the logged-in admin panel.
  5. Visit the discovered endpoint, which redirects to a shop and exposes all user data.

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 login form should check both pieces of information you type before letting you in. Here the form only checked the shop identifier and ignored the empty user identifier, so anyone who knew a shop identifier could get into the admin area. Once inside, a hidden page showed personal details of every user.

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 Rahul Gairola

View all

2 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.