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.
Published on medium.com
#### Omar Hamdy
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
- Visit the admin subdomain over HTTP and observe a 403 error.
- Change the protocol from HTTP to HTTPS.
- 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.