BBLabs NewsBBLabs News
NewsAll articlesTopics
ES
  1. Home
  2. ›
  3. Glossary
  4. ›
  5. IDOR
Bug Bounty

IDORInsecure Direct Object Reference

Definition

Access control vulnerability: the server exposes guessable or predictable IDs and doesn't validate that the requester is authorised to access that resource.

The most-hunted bug class for beginners — and for experts on large programs. Pattern: `GET /api/invoices/123` returns your invoice, change to `/api/invoices/124` and you get the next user's. No 403, no auth check.

Variants: horizontal IDOR (peer-to-peer), vertical (escalation to admin), write-side (PUT/DELETE on others' resources), predictable-UUID (UUIDv1 with MAC + timestamp, base64 IDs leaking info).

Defence: check ownership on EVERY resource endpoint, not in the frontend. Automated tests that change the ID and expect 403. ORM with per-user scoping (Rails default_scope + current_user, Django get_object_or_404 with filter). UUIDv4 random minimum (not v1).

Related terms

  • XSS
  • SQLi
  • SSRF

Latest articles on Bug Bounty

  • →Shopify: email confirmation bypass → account takeover
  • →Ruby JSON.generate leaks heap memory via null bytes
  • →TaxJar: org owner could hijack any member's account

Interested in Bug Bounty?

Get one technical story a day on bug bounty — curated, summarised, actionable.

Subscribe
BBLabs NewsBBLabs News

BBLabs News

Una historia al día. Cero ruido.

Newsletter técnica de ciberseguridad. Una historia al día sobre CVEs críticos, brechas, bug bounty e IA. Filtrado por IA, escrito para humanos.

Producto

  • Hemeroteca
  • Ediciones
  • Temas
  • Glosario
  • RSS
  • Atom
  • JSON Feed

Editorial

  • Acerca de
  • Suscribirse
  • Cuenta
  • English

Legal

  • Privacidad
  • Términos
  • Contacto: team@bblabs.es

Conectar

  • YouTube · @0xGorka
  • Instagram · @bblabs.es
  • Discord BBLabs
  • Discord Bug Bounty ES
31 artículos·10 ediciones·Desde 2026·Hecho en España
© 2026 BBLabs News·Por Gorka El Bochi