yenn503/net-runners/exploiting-idor-vulnerabilities
Claude Code and agent skill by yenn503/net-runners
- community
Checking that the SKILL.md file is still in the repository.
Identifying and exploiting Insecure Direct Object Reference vulnerabilities to access unauthorized resources
Install
npx vskill@latest install yenn503/net-runners/exploiting-idor-vulnerabilitiesSKILL.md
The same SKILL.md was published earlier as mukul975/anthropic-cybersecurity-skills/exploiting-idor-vulnerabilities.
Exploiting IDOR Vulnerabilities
When to Use
- During authorized penetration tests when testing access control on resource endpoints
- When APIs or web pages use predictable identifiers (numeric IDs, UUIDs, slugs) in URLs or request bodies
- For validating that object-level authorization is enforced across all CRUD operations
- When testing multi-tenant applications where users should only access their own data
- During bug bounty programs targeting broken access control vulnerabilities
Prerequisites
- Authorization: Written penetration testing agreement for the target application
- Burp Suite Professional: With Authorize extension installed from BApp Store
- Two test accounts: At least two separate user accounts with different permission levels
- Burp Authorize Extension: For automated IDOR testing across sessions
- curl/httpie: For manual request crafting
- Browser: Configured to proxy through Burp Suite
Workflow
Step 1: Map All Object References in the Application
Identify every endpoint that references objects by ID across the application.
Step 2: Configure Burp Authorize Extension for Automated Testing
Set up the Authorize extension to automatically replay requests with a different user's session.
Step 3: Test Horizontal IDOR (Same Privilege Level)
Attempt to access resources belonging to another user at the same privilege level.
Step 4: Test Vertical IDOR (Cross Privilege Level)
Attempt to access admin or elevated resources with a regular user token.
Step 5: Test IDOR in Non-Obvious Locations
Look for IDOR in request bodies, headers, and indirect references.
Step 6: Enumerate and Escalate Impact
Determine the full scope of data exposure through IDOR.
Key Concepts
| Concept | Description | |
|---|---|---|
| Horizontal IDOR | Accessing resources belonging to another user at the same privilege level | |
| Vertical IDOR | Accessing resources requiring higher privileges than the current user has | |
| Direct Object Reference | Using a database key, file path, or identifier directly in API parameters | |
| Indirect Object Reference | Using a mapped reference (e.g., index) that the server resolves to the actual object | |
| Object-Level Authorization | Server-side check that the requesting user is authorized to access the specific object | |
| Predictable IDs | Sequential numeric identifiers that allow easy enumeration of valid objects | |
| UUID Randomness | Using UUIDv4 makes enumeration harder but does not replace authorization checks |
Tools & Systems
| Tool | Purpose | |
|---|---|---|
| Burp Suite Professional | HTTP proxy with Intruder for ID enumeration and Repeater for manual testing | |
| Authorize (Burp Extension) | Automated IDOR testing by replaying requests with different user sessions | |
| AutoRepeater (Burp Extension) | Automatically repeats requests with modified authorization headers | |
| Postman | API testing with environment variables for switching between user contexts | |
| ffuf | Fast fuzzing of object ID parameters | |
| OWASP ZAP | Free proxy alternative with access control testing plugins |
Common Scenarios
Scenario 1: Invoice Download IDOR
The /invoices/{id}/download endpoint generates PDF invoices. By incrementing the invoice ID, any authenticated user can download invoices belonging to other customers, exposing billing addresses and payment details.
Scenario 2: User Profile Data Leak
The /api/users/{id} endpoint returns full user profiles including email, phone, and address. The API only checks if the request has a valid token but never verifies whether the token owner matches the requested user ID.
Scenario 3: File Access via Path Manipulation
A document management system stores files at /files/{user_id}/{filename}. By changing the user_id path segment, users can access private documents uploaded by other users.
Scenario 4: Message Thread Hijacking
A messaging endpoint at /api/conversations/{id}/messages allows any authenticated user to read messages in any conversation by changing the conversation ID.
Output Format
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.netrunner/skills/appsec/exploiting-idor-vulnerabilities/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/yenn503/net-runners/exploiting-idor-vulnerabilities)