Logo Strix•IDOR 测试

Strix•IDOR 测试

Cộng đồng
asdfgh1445
Strix•IDOR 测试

Strix IDOR/BOLA 测试手册,覆盖对象级授权失效与跨账户数据访问;触发名:strix-idor

Tổng quan

Nhà phát hànhasdfgh1445
Kho mãctf-super-hub
Tên kỹ năngStrix•IDOR 测试
Sao
836
Bản fork
105
Tệp đi kèm
Chỉ có hướng dẫn
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được asdfgh1445 công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Strix•IDOR 测试 trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/asdfgh1445/ctf-super-hub/tree/main/strix-idor
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/asdfgh1445/ctf-super-hub.git /tmp/ctf-super-hub
mkdir -p .claude/skills
cp -r /tmp/ctf-super-hub/strix-idor .claude/skills/asdfgh1445-strix-idor
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Strix•IDOR 测试 trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Strix•IDOR 测试 ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Strix•IDOR 测试 với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

IDOR

Object-level authorization failures (BOLA/IDOR) lead to cross-account data exposure and unauthorized state changes across APIs, web, mobile, and microservices. Treat every object reference as untrusted until proven bound to the caller.

Attack Surface

Scope

  • Horizontal access: access another subject's objects of the same type
  • Vertical access: access privileged objects/actions (admin-only, staff-only)
  • Cross-tenant access: break isolation boundaries in multi-tenant systems
  • Cross-service access: token or context accepted by the wrong service

Reference Locations

  • Paths, query params, JSON bodies, form-data, headers, cookies
  • JWT claims, GraphQL arguments, WebSocket messages, gRPC messages

Identifier Forms

  • Integers, UUID/ULID/CUID, Snowflake, slugs
  • Composite keys (e.g., {orgId}:{userId})
  • Opaque tokens, base64/hex-encoded blobs

Relationship References

  • parentId, ownerId, accountId, tenantId, organization, teamId, projectId, subscriptionId

Expansion/Projection Knobs

  • fields, include, expand, projection, with, select, populate
  • Often bypass authorization in resolvers or serializers

High-Value Targets

  • Exports/backups/reporting endpoints (CSV/PDF/ZIP)
  • Messaging/mailbox/notifications, audit logs, activity feeds
  • Billing: invoices, payment methods, transactions, credits
  • Healthcare/education records, HR documents, PII/PHI/PCI
  • Admin/staff tools, impersonation/session management
  • File/object storage keys (S3/GCS signed URLs, share links)
  • Background jobs: import/export job IDs, task results
  • Multi-tenant resources: organizations, workspaces, projects

Reconnaissance

Parameter Analysis

  • Pagination/cursors: page[offset], page[limit], cursor, nextPageToken (often reveal or accept cross-tenant/state)
  • Directory/list endpoints as seeders: search/list/suggest/export often leak object IDs for secondary exploitation

Enumeration Techniques

  • Alternate types: {"id":123} vs {"id":"123"}, arrays vs scalars, objects vs scalars
  • Edge values: null/empty/0/-1/MAX_INT, scientific notation, overflows
  • Duplicate keys/parameter pollution: id=1&id=2, JSON duplicate keys {"id":1,"id":2} (parser precedence)
  • Case/aliasing: userId vs userid vs USER_ID; alt names like resourceId, targetId, account
  • Path traversal-like in virtual file systems: /files/user_123/../../user_456/report.csv

UUID/Opaque ID Sources

  • Logs, exports, JS bundles, analytics endpoints, emails, public activity
  • Time-based IDs (UUIDv1, ULID) may be guessable within a window

Key Vulnerabilities

Horizontal & Vertical Access

  • Swap object IDs between principals using the same token to probe horizontal access
  • Repeat with lower-privilege tokens to probe vertical access
  • Target partial updates (PATCH, JSON Patch/JSON Merge Patch) for silent unauthorized modifications

Bulk & Batch Operations

  • Batch endpoints (bulk update/delete) often validate only the first element; include cross-tenant IDs mid-array
  • CSV/JSON imports referencing foreign object IDs (ownerId, orgId) may bypass create-time checks

Secondary IDOR

  • Use list/search endpoints, notifications, emails, webhooks, and client logs to collect valid IDs
  • Fetch or mutate those objects directly
  • Pagination/cursor manipulation to skip filters and pull other users' pages

Job/Task Objects

  • Access job/task IDs from one user to retrieve results for another (export/{jobId}/download, reports/{taskId})
  • Cancel/approve someone else's jobs by referencing their task IDs

File/Object Storage

  • Direct object paths or weakly scoped signed URLs
  • Attempt key prefix changes, content-disposition tricks, or stale signatures reused across tenants
  • Replace share tokens with tokens from other tenants; try case/URL-encoding variations

GraphQL

  • Enforce resolver-level checks: do not rely on a top-level gate
  • Verify field and edge resolvers bind the resource to the caller on every hop
  • Abuse batching/aliases to retrieve multiple users' nodes in one request
  • Global node patterns (Relay): decode base64 IDs and swap raw IDs
  • Overfetching via fragments on privileged types
graphql
query IDOR {
  me { id }
  u1: user(id: "VXNlcjo0NTY=") { email billing { last4 } }
  u2: node(id: "VXNlcjo0NTc=") { ... on User { email } }
}

Microservices & Gateways

  • Token confusion: token scoped for Service A accepted by Service B due to shared JWT verification but missing audience/claims checks
  • Trust on headers: reverse proxies or API gateways injecting/trusting headers like X-User-Id, X-Organization-Id; try overriding or removing them
  • Context loss: async consumers (queues, workers) re-process requests without re-checking authorization

Multi-Tenant

  • Probe tenant scoping through headers, subdomains, and path params (X-Tenant-ID, org slug)
  • Try mixing org of token with resource from another org
  • Test cross-tenant reports/analytics rollups and admin views which aggregate multiple tenants

WebSocket

  • Authorization per-subscription: ensure channel/topic names cannot be guessed (user_{id}, org_{id})
  • Subscribe/publish checks must run server-side, not only at handshake
  • Try sending messages with target user IDs after subscribing to own channels

gRPC

  • Direct protobuf fields (owner_id, tenant_id) often bypass HTTP-layer middleware
  • Validate references via grpcurl with tokens from different principals

Integrations

  • Webhooks/callbacks referencing foreign objects (e.g., invoice_id) processed without verifying ownership
  • Third-party importers syncing data into wrong tenant due to missing tenant binding

Bypass Techniques

Parser & Transport

  • Content-type switching: application/json ↔ application/x-www-form-urlencoded ↔ multipart/form-data
  • Method tunneling: X-HTTP-Method-Override, _method=PATCH; or using GET on endpoints incorrectly accepting state changes
  • JSON duplicate keys/array injection to bypass naive validators

Parameter Pollution

  • Duplicate parameters in query/body to influence server-side precedence (id=123&id=456); try both orderings
  • Mix case/alias param names so gateway and backend disagree (userId vs userid)

Cache & Gateway

  • CDN/proxy key confusion: responses keyed without Authorization or tenant headers expose cached objects to other users
  • Manipulate Vary and Accept headers
  • Redirect chains and 304/206 behaviors can leak content across tenants

Race Windows

  • Time-of-check vs time-of-use: change the referenced ID between validation and execution using parallel requests

Blind Channels

  • Use differential responses (status, size, ETag, timing) to detect existence
  • Error shape often differs for owned vs foreign objects
  • HEAD/OPTIONS, conditional requests (If-None-Match/If-Modified-Since) can confirm existence without full content

Chaining Attacks

  • IDOR + CSRF: force victims to trigger unauthorized changes on objects you discovered
  • IDOR + Stored XSS: pivot into other users' sessions through data you gained access to
  • IDOR + SSRF: exfiltrate internal IDs, then access their corresponding resources
  • IDOR + Race: bypass spot checks with simultaneous requests

Testing Methodology

  1. Build matrix - Subject × Object × Action matrix (who can do what to which resource)
  2. Obtain principals - At least two: owner and non-owner (plus admin/staff if applicable)
  3. Collect IDs - Capture at least one valid object ID per principal from list/search/export endpoints
  4. Cross-channel testing - Exercise every action (R/W/D/Export) while swapping IDs, tokens, tenants
  5. Transport variation - Test across web, mobile, API, GraphQL, WebSocket, gRPC
  6. Consistency check - Same rule must hold regardless of transport, content-type, serialization, or gateway

Validation

  1. Demonstrate access to an object not owned by the caller (content or metadata)
  2. Show the same request fails with appropriately enforced authorization when corrected
  3. Prove cross-channel consistency: same unauthorized access via at least two transports (e.g., REST and GraphQL)
  4. Document tenant boundary violations (if applicable)
  5. Provide reproducible steps and evidence (requests/responses for owner vs non-owner)

False Positives

  • Public/anonymous resources by design
  • Soft-privatized data where content is already public
  • Idempotent metadata lookups that do not reveal sensitive content
  • Correct row-level checks enforced across all channels

Impact

  • Cross-account data exposure (PII/PHI/PCI)
  • Unauthorized state changes (transfers, role changes, cancellations)
  • Cross-tenant data leaks violating contractual and regulatory boundaries
  • Regulatory risk (GDPR/HIPAA/PCI), fraud, reputational damage

Pro Tips

  1. Always test list/search/export endpoints first; they are rich ID seeders
  2. Build a reusable ID corpus from logs, notifications, emails, and client bundles
  3. Toggle content-types and transports; authorization middleware often differs per stack
  4. In GraphQL, validate at resolver boundaries; never trust parent auth to cover children
  5. In multi-tenant apps, vary org headers, subdomains, and path params independently
  6. Check batch/bulk operations and background job endpoints; they frequently skip per-item checks
  7. Inspect gateways for header trust and cache key configuration
  8. Treat UUIDs as untrusted; obtain them via OSINT/leaks and test binding
  9. Use timing/size/ETag differentials for blind confirmation when content is masked
  10. Prove impact with precise before/after diffs and role-separated evidence

Summary

Authorization must bind subject, action, and specific object on every request, regardless of identifier opacity or transport. If the binding is missing anywhere, the system is vulnerable.

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

Kỹ năng AI Strix•IDOR 测试 làm được gì?

Strix IDOR/BOLA 测试手册,覆盖对象级授权失效与跨账户数据访问;触发名:strix-idor

Vì sao nên dùng Strix•IDOR 测试 trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Strix•IDOR 测试 là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Strix•IDOR 测试 trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/asdfgh1445/ctf-super-hub/tree/main/strix-idor. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Strix•IDOR 测试?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Strix•IDOR 测试 với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Strix•IDOR 测试 với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Strix•IDOR 测试 có miễn phí không?

Kỹ năng này được asdfgh1445 phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇