Skip to content
Access control Write-up Beginner

403 Forbidden Bypass

A directory on a private-program host returned 403 Forbidden, but appending known Plesk statistics sub-paths returned 200 OK, exposing the pages. An attacker could read those statistics pages that the server appeared to block.

th3.d1p4k Follow

Published on dewangpanchal98.medium.com

Hey hunters! This writeup is related with my previous writeup.

th3.d1p4k, on dewangpanchal98.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

What the attacker needed

Access to the target host; knowledge of valid sub-paths

How it was found

  1. Request the protected directory path and receive 403 Forbidden.
  2. Try directory listing and spidering, which do not help.
  3. Take known endpoint names from a nuclei template.
  4. Append those endpoint names to the path and receive 200 OK.

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 web server sometimes answers 403 Forbidden, meaning 'you are not allowed to see this'. Here the block was only on the folder itself, while the specific pages inside it were still served normally. Adding a known page name to the address got around the block.

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 th3.d1p4k

View all

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