Role Profiles and Access Matrix
Save a login profile for each role, such as admin, user and guest, then replay one request as every role at once. The matrix shows who can access what, so IDOR and broken access control are easy to spot.
Documentation
XHack AI Agent
- CoHunter Guide
- Sub-Agents
- HTTP Repeater
- Background Tasks
- Permission Modes
- Project Memory
- Plugins
- Mobile App Testing
- Findings & Reports
- Web Console
- Turn On the Web Console
- Run the Web Console on a Server
- Install the Console as an App
- Remote Access
- Turn On Remote Access from the Desktop App
- Deploy Remote Access on a VPS
- Approve a Device
- Manage Your Devices
- Remote Access Security Tips
- Remote Access Troubleshooting
- Bug-Bounty Hunting
- Programs
- Run Recon and See What's New
- Background Monitoring
- Start a Full Hunt
- Start a Hunt from an Empty Chat
- Questions from the AI
- Go Full Mode
- Collaborator
- Role Profiles and Access Matrix
- Desktop and Web Console in Sync
Role Profiles and Access Matrix
Testing access control by hand means logging in as each role and sending the same request again and again. The access matrix does it in one go.
- Save a profile for each role you have a test account for.
- Replay one request as every role at once.
- Read the matrix to see who can access what.
Before you start
You need a test account for each role, for example admin, user and guest. Use accounts the program gives you, or ones you created on a system you own. Never use someone else's account.
1. Save a profile for each role
- Open Repeater from the toolbar.
- Click Profiles….
- Add a profile for each role, with that role's cookies or headers.
- Click Save profile for each one.
2. Run the matrix
- Load a request in Repeater.
- Click Access matrix….
- Choose the profiles to compare.
- Click Run matrix.
3. Read the matrix
The matrix shows each role's response to the same request.
What to look for: a low-privilege role getting the same data as a high-privilege one. That points to IDOR or broken access control.
Before you report it, check that the response really contains the other role's data, not just a generic page or an error that looks the same.
Let the AI use your profiles
The AI can use your saved profiles too. Just ask it to check access control with your roles.
Related
Try XHack AI Now
Experience the full power of XHack directly in your browser. No installation required.
Launch XHack AI