Skip to content
Access control Write-up Beginner

300$ P3 Easy Bug in 30 Seconds

An admin subdomain returned a 403 error when accessed over HTTP, but switching to HTTPS allowed access to the admin interface. An attacker could view the admin UI without authorisation.

Omar Hamdy Follow

Published on medium.com

Bounty$300 View original

#### Omar Hamdy

Omar Hamdy, 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 access control was applied only to the HTTP version of the admin subdomain, not to the HTTPS version.

Impact

An attacker could access the admin interface without authorisation, potentially viewing sensitive administrative functions.

What the attacker needed

Knowledge of the admin subdomain

How it was found

  1. Visit the admin subdomain over HTTP and observe a 403 error.
  2. Change the protocol from HTTP to HTTPS.
  3. Access the admin UI successfully.

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 website's admin page was blocked when visited over an insecure connection (HTTP), but simply changing the address to use a secure connection (HTTPS) let anyone see the admin interface. This means the protection was only on the insecure version, leaving the secure version open.

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 Omar Hamdy

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.