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.
Hey hunters! This writeup is related with my previous writeup.
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
- Request the protected directory path and receive 403 Forbidden.
- Try directory listing and spidering, which do not help.
- Take known endpoint names from a nuclei template.
- 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.