Skip to content
Access control Write-up Beginner

Weak credentials lead to access to admin panel (Deep Recon)

An admin account on a forgotten subdomain used a weak password, and the login form revealed which usernames existed. An attacker could guess the password and gain full control of the admin panel, including customer data and internal operations.

medium.com

Published on medium.com

While doing my usual bug bounty recon, I came across an interesting asset that I hadn’t seen before. I wasn’t actively targeting a specific subdomain — I was just digging deep like I always do, trying to find forgotten or hidden parts of the target’s infrastructure.

rood, 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 admin account was protected by a weak, common password and the login form revealed valid usernames through different error messages.

Impact

The attacker gained full administrative control, including viewing and changing user passwords, accessing customer PII, tampering with reports, and disrupting logistics and inventory.

What the attacker needed

No account needed; target has a hidden subdomain; admin uses a common password

The fix

The admin account should be protected with a strong, unique password, and the login form should return a generic error message for both wrong usernames and wrong passwords.

How it was found

  1. Find a hidden subdomain using keyword-based searches on SecurityTrails.
  2. Open the login page and confirm it belongs to the target by the company logo.
  3. Test usernames in the login form and note that 'admin' gives a different error than random names.
  4. Run a brute-force attack with a common password list using Burp Suite Intruder.
  5. Check the results and find a successful login for the admin account.
  6. Access the admin dashboard on port 8080 and confirm full access.

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 page told the attacker whether a username existed by showing different error messages. The admin account used a very common password, so a tool that tries many passwords quickly found it. Once logged in, the attacker could see and change almost everything in the system.

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.