how to get bug IDOR ( Insecure Direct Object Reference) POC , IMPACT AND Recommendation

  I can provide a general bug bounty writeup for an IDOR (Insecure Direct Object Reference) vulnerability. Here's an example:

Title: Insecure Direct Object Reference (IDOR) vulnerability in XYZ web application

Severity: Medium


During my testing of the XYZ web application, I identified an Insecure Direct Object Reference (IDOR) vulnerability that allows an attacker to access resources or data belonging to other users without authorization. This vulnerability is caused by improper access control checks on sensitive objects such as user accounts or user-generated content.

To reproduce this vulnerability, I performed the following steps:

1. Created a new user account on the application.

2. Logged in to the application with the newly created account.

3. Acces a resource (e.g., a user's private message) that is only accessible to the logged-in user.

4. Intercepted the HTTP request using a proxy tool (e.g., Burp Suite).

5. Modified the request to change the user ID parameter to the ID of another user.

6. Forwarded the modified request to the server and observed that the sensitive resource was still accessible, even though it should only be accessible to the original user.

By exploiting this vulnerability, an attacker could gain access to sensitive data or perform unauthorized actions on behalf of other users. This could result in a breach of confidentiality, integrity, or availability of the application and its data.


An attacker could use this vulnerability to:

View or modify sensitive user data (e.g., private messages, personal information).

Perform unauthorized actions on behalf of other users (e.g., changing account settings, deleting content).

Escalate their privileges on the application and gain access to additional resources or functionality.


To fix this vulnerability, I recommend implementing proper access control checks on all sensitive objects. This should include checking the user's identity and authorization level before allowing access to the resource. Additionally, sensitive data should be encrypted or hashed to prevent unauthorized access.


2022-03-15: Initial report submitted to the XYZ web application team.

2022-03-16: The team acknowledged receipt of the report and began investigating.

2022-03-22: The team confirmed the vulnerability and assigned it a Medium severity rating.

2022-03-25: The team provided a patch for the vulnerability and asked me to verify the fix.

2022-03-28: I verified the fix and confirmed that the vulnerability was no longer present.

2022-03-29: The team thanked me for my report and awarded me a bounty of $500 for the finding.


I agreed to a coordinated disclosure with the XYZ web application team, which allowed them time to fix the vulnerability before public disclosure. The vulnerability was publicly disclosed after the patch was released and users were advised to update their accounts.

Belum ada Komentar untuk "how to get bug IDOR ( Insecure Direct Object Reference) POC , IMPACT AND Recommendation"

Posting Komentar

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel