[MEDIUM]
·
Bugcrowd P3
·
Unresolved
Duplicate
The affected asset is anonymised at the researcher's request.
Summary
An IDOR/BOLA vulnerability was identified in the document download functionality. An authenticated user could download another user's CV by modifying the file_id parameter in the download request.
The application did not properly verify that the requested file belonged to the currently authenticated user.
Steps to Reproduce
- Create two separate accounts: Account A and Account B.
- Log in to Account A and navigate to My Documents.
- Open a CV/document belonging to Account A.
- Intercept the document download request using Burp Suite:
GET /api/documents/000000/download
- Inspect the subsequent request and identify the
file_idparameter: