A Simple P2 Bug Via Forced Browsing
An employee portal page was accessible without authentication, allowing an attacker to view and download internal documents containing sensitive information and employee PII.
medium.com
Published on medium.com
In this writeup I’ll share with you guys how I utilized forced browsing to hit a very easy P2. So let’s start with the 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
Impact
An unauthenticated attacker could view and download internal documents containing sensitive information and employee PII.
What the attacker needed
No login required; knowledge of the document page URL
The fix
The page should require authentication before showing any documents or information.
How it was found
- Find the employee portal login page.
- Use Google dorking to discover a documents page URL under the employee directory.
- Visit the documents page directly without logging in.
- Click 'More information' to reveal the list of documents.
- Open the documents to access sensitive information and PII.
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 private area for its employees, but one of its pages could be opened by anyone without logging in. This let the researcher see and download documents that should have been private, including personal details about employees.
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.