BBLABS v2BBLABSv2
>Home>Labs
>New labs

Latest 3 labs

Loading…

View all labs →
>Creators>Ranking
>Learn

Learn bug bounty

AcademyGuides, cheatsheets and glossaryVulnerabilitiesXSS, SQLi, IDOR, SSRF and moreHunter RoadmapYour step-by-step bug bounty pathBlogBug bounty guides and news
>Business>Pricing
ES
Log inLog in
>Home>Labs>New labs>Creators>Ranking>Learn>Business>Pricing
ES
Sign inCreate account

Contact

Practice, learn and hack

Bug bounty practice platform with labs based on real reports. Learn ethical hacking in safe environments.

contact→

Follow us

YouTube
@0xGorka
X
@gorkaelbochi
LinkedIn
gorka-el-bochi-morillo
Instagram
@_.gorkaaa.b
Email
team@bblabs.es

Access every lab from €7.99/mo

New labs every week. Cancel anytime.

Create account

BBLabs is the bug bounty labs platform where you learn bug bounty with real vulnerabilities extracted from paid reports on HackerOne, Bugcrowd and Intigriti. Here you practice web hacking —XSS, SQLi, IDOR, SSRF, CSRF and more— in downloadable environments, capture the flag, read the writeup and apply the technique on active bug bounty programs.

BBLabs is the alternative to HackTheBox, TryHackMe and PentesterLab for those who want to practice bug bounty with real reports instead of artificial CTFs. From €7.99/mo, no commitment.

→ Learn bug bounty from scratch→ How to do bug bounty step by step→ Real bug bounty reports→ BBLabs for companies and academiesLabsAcademyVulnerabilitiesToolsHunter rankingXSS labsIDOR labsSSRF labsCSRF labsHackTheBox alternativeHack4u alternativeTryHackMe alternativePortSwigger alternativePentesterLab alternativeBug Bounty Labs comparisonHackerOne to practiceOffSec / OSCP alternativeINE / eWPT alternativeHTB Academy alternativeDVWA alternativeJuice Shop alternativeVulnHub alternativePentesterAcademy alternativeRoot-Me alternativeHackTheBox vs TryHackMeBest bug bounty platforms 2026BlogSpoilersWhat is bug bounty?How much do you earn in bug bounty?OWASP Top 10 explainedBest sites to practice web hackingHow to become an ethical hacker from scratchBurp Suite tutorial (Spanish)OSCP guide and prepGoogle Dorks for bug bountyHow much an ethical hacker earns in SpainBug bounty tools 2026Best cybersecurity certifications 2026Burp Suite tutorialsqlmap tutorialffuf web fuzzingnuclei tutorialHTTP Request SmugglingWAF bypassPrompt injection (LLM)Google Dorks
Made withand code
TermsPrivacyComparisonES

© 2026 BBLABS v2 — All rights reserved

back to blog
techniquesfeatured

Beginner's guide to IDOR

Learn to identify and exploit IDOR (Insecure Direct Object Reference) vulnerabilities in web applications. From the basics to writing effective reports.

B

BBLabs

Security Researcher

Mar 10, 202612 min read
#idor#api#bug-bounty

What is an IDOR?

IDOR (Insecure Direct Object Reference) is one of the most common and most rewarded vulnerabilities in bug bounty programs. It happens when an application exposes a direct reference to an internal object — like a user ID, a filename or a database key — without checking that the user is authorized to access that resource.

In simple terms: if you can change a number in a URL or a request and access another user's data, you're probably looking at an IDOR.

Types of IDOR

Horizontal IDOR

The most frequent type. A user accesses resources belonging to another user at the same privilege level. For example:

GET /api/users/1234/profile    → Your profile
GET /api/users/1235/profile    → Another user's profile (unauthorized!)

Vertical IDOR

Happens when a user with low privileges accesses functions meant for a high-privilege user (for example, a normal user reaching an admin panel):

GET /api/admin/users           → Should only be accessible to admins
GET /api/admin/settings        → System settings

Function-based IDOR

It's not always about reading data. Sometimes you can perform actions on resources that aren't yours:

DELETE /api/posts/5678         → Delete another user's post
PUT /api/users/1235/email      → Change another user's email

How do you find IDORs?

1. Map every endpoint

Use Burp Suite to intercept every request as you browse the application. Pay special attention to any parameter that contains IDs, UUIDs, filenames or object references.

2. Spot suspicious parameters

Look for patterns like:

/api/v1/users/{user_id}/orders
/api/v1/documents/{doc_id}/download
/api/v1/invoices?id=12345
/profile?account=usuario123

3. Use two accounts

This is the most effective technique. Create two test accounts (Account A and Account B):

  1. Log in with Account A and capture the requests
  2. Copy the requests and replace the IDs with Account B's
  3. Send the modified request with Account A's cookies/tokens
  4. If you get Account B's data back, you have an IDOR

4. Parameter fuzzing

If the IDs are numeric and sequential, try Burp Intruder:

GET /api/users/§1§/profile HTTP/1.1
Authorization: Bearer your_token_here

Payload: Numbers, From 1 To 1000, Step 1

5. Try different ID formats

Sometimes the same endpoint accepts different formats:

/api/users/123          → Numeric ID
/api/users/user_123     → Prefixed ID
/api/users/abc-def-ghi  → UUID
/api/users/admin@test.com → Email as identifier

Common IDOR locations

  • Profile endpoints: /api/users/{id}, /profile/{id}
  • File downloads: /api/files/{file_id}/download, /documents/{name}.pdf
  • REST APIs: CRUD operations on any resource
  • Export functions: /api/export?report_id=123
  • Messages and notifications: /api/messages/{id}, /api/notifications/{id}
  • Transaction history: /api/transactions/{id}
  • GraphQL endpoints: Queries that accept IDs as variables

Bypassing common protections

If the first attempt doesn't work, try these variations:

# Change the HTTP method
GET → POST, PUT, PATCH

# Add/remove parameters
/api/users/123 → /api/users/123?admin=true

# Change the ID format
123 → 0123 → 00123

# Encode the ID
123 → MTIz (Base64)

# Try the ID in different locations
Body, URL, Headers, Cookies

Tips for writing good reports

  1. Describe the impact clearly: "An attacker can access the personal information (name, email, address) of any user on the platform"
  2. Include detailed reproduction steps: Step by step, with screenshots
  3. Show the full HTTP requests: Include headers, body and response
  4. Prove it with two accounts: Show that Account A accesses Account B's data
  5. Classify the severity correctly: An IDOR exposing bank data is not the same as one exposing public avatars

Recommended tools

  • Burp Suite: To intercept and modify requests
  • Autorize (Burp extension): Automates authorization testing
  • FFUF: For fast endpoint fuzzing
  • Postman: To organize and replay requests

Conclusion

IDORs are "simple" vulnerabilities in concept but extremely impactful. They're an excellent gateway into the bug bounty world because they don't require highly advanced technical knowledge, but they do require patience, methodology and attention to detail. Practice with lab platforms and you'll soon be reporting your first real bugs.

share
share:
hunters training
650

hunters training

labs from real reports
50

labs from real reports

completions
380

completions

in bounties practiced
$200,000

in bounties practiced

40 flags captured this week·Real reports from HackerOne · Bugcrowd · Intigriti·No commitment·Free Academy
BBLabs · bug bounty training

Stop reading about bugs and start hunting them

Create your free account and practice on labs based on real reports that paid out thousands of euros. The Academy is free forever.

Create free accountSee the labs

No card · free Academy · cancel anytime

[RELATED_POSTS]

Continue Reading

techniques

Authentication bypass: JWT attacks

Explore the most common techniques for attacking insecure JSON Web Token implementations: from the none algorithm to JKU/JWK injection.

Dec 20, 2025•14 min read
techniques

SSRF: From P4 to Critical

Learn to escalate SSRF vulnerabilities from a low severity to critical impact. Exploitation techniques, filter bypasses and attack chains in cloud environments.

Nov 30, 2025•16 min read
guides

What is bug bounty: the complete 2026 guide (how it works, how much it pays, is it legal)

What bug bounty is, how a program works step by step, which platforms it runs on (HackerOne, Bugcrowd, Intigriti, YesWeHack), how much you earn, whether it's legal and where to start from scratch.

2026-06-25•13 min read