Skip to content
Access control Write-up Beginner

My Unbelievable Hack into HR Admin — A Bug Bounty Tale!!!

A UAT subdomain hosted an HR admin panel that granted access without authentication when the 'Sign in With Okta' button was clicked. An attacker who found the subdomain could reach the admin panel directly.

ratnadip1998 Follow

Published on medium.com

I am doing recon on “bounty.com” and using my custom wordlist for active subdomain scanning.�

Ratnadip Gajbhiye, 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

Impact

An unauthenticated attacker could access the HR admin panel, potentially viewing or modifying sensitive employee data.

What the attacker needed

Discovery of the UAT subdomain; no authentication required

The fix

The issue was fixed immediately after the report was submitted.

How it was found

  1. Gather URLs for the target domain and find historical links to the UAT subdomain.
  2. Brute-force subdomains by inserting a wordlist before 'uat' in the domain name.
  3. Open the discovered subdomains and find one that loads a login panel.
  4. Click the 'Sign in With Okta' button on that login panel.
  5. Observe that the HR admin panel loads without authentication.

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 company had a test version of its website (a UAT environment) that was not meant to be public. On that site, a login button was supposed to send you to a secure sign-in service, but instead it let anyone straight into the admin area without asking for a password. This means someone who found the hidden address could see and possibly change HR data.

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.