Chuyển đến nội dung
Skillpedia
Bảo mật48k · #4879

hunt-idor

Skill này làm gì

Công cụ này giúp tìm lỗ hổng bảo mật gọi là IDOR (Insecure Direct Object Reference, tham chiếu đối tượng trực tiếp không an toàn). Nó tìm cách truy cập dữ liệu của người dùng khác mà không được phép, chẳng hạn xem hóa đơn hoặc tin nhắn riêng tư của người khác.

Khi nào nên dùng

  • ✓Khi kiểm thử bảo mật một website hoặc ứng dụng.
  • ✓Khi bạn được phép tìm kiếm lỗ hổng bảo mật.
  • ✓Để hiểu cách dữ liệu người dùng được bảo vệ.

Liên kết skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/hunt-idor/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/hunt-idor/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tìm lỗ hổng IDOR trên example.com”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ phân tích các mẫu thường gặp trong URL và phản hồi máy chủ để chỉ ra nơi một ID đối tượng có thể bị truy cập sai cách. Nó gợi ý cách kiểm tra các điểm này bằng cách thay thế ID để xem dữ liệu người khác có bị lộ không.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

⚠️ AUTHORIZED USE ONLY This skill is for educational purposes or authorized security assessments only. You must have explicit, written permission from the system owner before using this tool. Misuse of this tool is illegal and strictly prohibited.

Mandatory confirmation gate Before running any command that probes, exploits, changes, persists on, extracts data from, or attempts credential access against a target:

  1. Ask the user to state the exact target URL, IP, account, or resource.
  2. Ask the user to confirm written authorization and the permitted scope.
  3. Show the exact command(s) and explain their expected effect.
  4. Wait for explicit confirmation in the current conversation.

Without that confirmation, remain read-only and provide defensive guidance only. Prefer a sandbox, disposable VM, or controlled lab.

Crown Jewel Targets

Why IDOR pays big:

  • Direct access to other users' data without authentication bypass — clear, demonstrable impact
  • Chains easily with privilege escalation, financial fraud, and account takeover
  • Affects virtually every application with user-owned resources

Highest-value asset types (by payout potential):

Asset Type Why It Pays
Financial documents / billing APIs PII + financial data exposure (Shopify, Uber, PayPal)
Private repositories / source code IP theft, critical data loss (GitHub)
User messages / DMs Privacy violation at scale (Reddit)
Account management endpoints User addition, deletion, privilege escalation (PayPal, Mozilla)
Business/org administration Cross-tenant escalation, employee PII (Uber)
Content moderation/admin actions Operational sabotage (Reddit mod logs)

Programs that pay most for IDOR:

  • Platforms with multi-tenancy (SaaS, B2B tools)
  • Fintech and payment processors
  • Social platforms with private content
  • Developer tools with org/repo isolation

Attack Surface Signals

URL patterns that scream IDOR:

/api/v1/users/{id}/
/api/v*/orders/{order_id}
/invoices/download?id=
/reports/{uuid}/
/messages/{thread_id}
/admin/orgs/{org_id}/members
/migration/{migration_id}/files
/graphql (query params with IDs)
/api/business/{business_id}/
/vouchers/{voucher_id}/policy

Response header signals:

  • Content-Type: application/json on endpoints accepting raw IDs
  • No X-Frame-Options or CORS misconfigs paired with ID params
  • Authorization: Bearer tokens that are user-scoped but hit org-level resources

JavaScript source patterns:

// Look for hardcoded or interpolated IDs in JS
fetch(`/api/v1/users/${userId}/profile`)
axios.get('/invoices/' + invoiceId)
graphql query { billingDocument(id: $docId) }
// Redux/state stores exposing foreign IDs
state.currentUser.organizationId

Tech stack signals:

  • GraphQL endpoints (query-based IDORs are often missed)
  • REST APIs with sequential integer IDs (most vulnerable)
  • UUIDs that are predictable or leaked in other responses
  • Multi-tenant SaaS apps with org_id, account_id, business_id params
  • Mobile apps (Burp the APK — mobile APIs often skip authorization checks)

Step-by-Step Hunting Methodology

  1. Map all object references in the application

    • Browse every feature authenticated as User A
    • Capture all requests in Burp Suite
    • Filter for requests containing: id=, _id=, uuid=, /v1/{noun}/{id}, query params with numeric/UUID values
  2. Enumerate ID types

    • Sequential integers → enumerate ±1, ±100
    • UUIDs → check if they appear in other responses or JS files
    • Hashed IDs → check if leaked in public endpoints, metadata, or GraphQL introspection
  3. Create two separate accounts (same privilege level)

    • User A: resource owner
    • User B: attacker account
    • Log all IDs belonging to User A while authenticated as User A
  4. Replay User A's resource IDs as User B

    • Replace session cookie/token with User B's credentials
    • Send identical requests referencing User A's object IDs
    • Test ALL HTTP verbs: GET, POST, PUT, PATCH, DELETE on each endpoint
  5. Test cross-tenant/cross-org scenarios

    • Create accounts in separate organizations/businesses
    • Test if Org B's session can reference Org A's IDs
    • Pay special attention to admin/management endpoints
  6. Test GraphQL specifically

    • Run introspection: { __schema { queryType { fields { name } } } }

…

Câu hỏi thường gặp

IDOR là gì?

IDOR là viết tắt của 'Insecure Direct Object Reference' (tham chiếu đối tượng trực tiếp không an toàn). Đây là lỗi bảo mật cho phép người dùng truy cập tài nguyên (như tệp, dữ liệu hoặc chức năng) mà họ không được phép, chỉ bằng cách thay đổi một tham số (thường là số hoặc ID) trong URL hoặc yêu cầu.

Tại sao IDOR nguy hiểm?

Nó có thể làm lộ thông tin nhạy cảm của người khác, như dữ liệu cá nhân, thông tin tài chính hoặc tin nhắn riêng. Nó cũng có thể cho phép kẻ tấn công sửa hoặc xóa dữ liệu của người khác.

Tôi có cần sự cho phép để dùng công cụ này không?

Có, bạn bắt buộc phải có sự cho phép rõ ràng, bằng văn bản để kiểm thử bảo mật trên hệ thống này. Dùng trái phép là bất hợp pháp.

Chi tiết

Mô tả gốc của tác giả

Hunting skill for idor vulnerabilities. Built from 26 public bug bounty reports. Use when hunting idor on any target.

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#4879
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự