Skip to content

Burp Suite & Caido Configuration Guide

4 min readBug Hunting for Beginners

To find bugs efficiently, your proxy must do more than just intercept requests. You need to automate repetitive checks, simulate authorization context changes on the fly, and ensure your session tokens remain active.

This section covers the configuration steps to turn your proxy into a semi-automated testing engine.


1. Bulletproof CA Certificate Installation

Section titled “1. Bulletproof CA Certificate Installation”

Before intercepting HTTPS traffic, you must install your proxy’s Certificate Authority (CA) certificate.

  1. Launch your proxy (Burp or Caido) and ensure it is listening on 127.0.0.1:8080.
  2. Configure your browser proxy to use 127.0.0.1:8080 (use an extension like FoxyProxy to toggle this quickly).
  3. Download the Certificate:
    • For Burp: Navigate to http://burpsuite in your browser and click CA Certificate.
    • For Caido: Navigate to http://caido.local or download the cert directly from Caido’s settings interface.
  4. Install in browser:
    • Firefox: Settings → Privacy & Security → Certificates → View Certificates → Authorities → Import → Select the downloaded file → Check “Trust this CA to identify websites” → OK.
    • Chrome / Edge / Brave (Windows/macOS): Settings → Privacy and Security → Security → Manage device certificates → Authorities (or Trusted Root Certification Authorities) → Import → Follow the wizard to place the certificate in the Trusted Root Certification Authorities store.
  5. Restart the browser and browse to an HTTPS page (e.g., https://google.com). Confirm there are no SSL certificate warnings and the traffic is visible in your HTTP history.

2. Automating Authorization Checks (Autorize & Authify)

Section titled “2. Automating Authorization Checks (Autorize & Authify)”

Autorize (Burp BApp Store) and Authify (Caido Plugin Store) are the single most important extensions for IDOR/BOLA hunting. They intercept every request you make as Bob (the victim) and replay it in the background using Alice’s session cookies or headers (Alice is the attacker). The test accounts follow the same convention across this guide: Account A or Alice attacks, Account B or Bob is the victim.

  1. Install Autorize from the BApp Store.
  2. Open the Autorize tab.
  3. In the text box labeled “Headers to replace” or “Modify headers”, paste Alice’s authentication tokens.
    • Example:
      Cookie: session=ALICE_SESSION_TOKEN
      Authorization: Bearer ALICE_JWT_TOKEN
  4. Check “Autorize is on”.
  5. Browse the application normally as Bob in your main proxy-configured browser window.
  6. Observe the Autorize log table:
    • Green (200 OK / Same Length): The endpoint returned the same data or success code when called with Alice’s cookies. This is a highly probable IDOR candidate!
    • Red (403 Forbidden / 401 Unauthorized): The request was properly blocked.
    • Orange (Same response length/status but no auth credentials modified): Useful to compare against unauthenticated queries.
+---------------------------------------------------------------------------------+
| AUTORIZE MONITOR |
+---------------------------------------------------------------------------------+
| Method | URL | Auth Status | Unauth Status | Signal |
+--------+----------------------+-------------+---------------+-------------------+
| GET | /api/v2/users/3002 | Bypass! | Blocked (403) | IDOR confirmed |
| POST | /api/profile/update | Blocked | Blocked (401) | Secure |
+---------------------------------------------------------------------------------+
sequenceDiagram
    autonumber
    actor Bob as Browser (Bob)
    participant Proxy as Proxy (Autorize/Authify)
    participant Server as Target Server
    
    Bob->>Proxy: Send request with Bob's cookie/token
    Note over Proxy: 1. Clone Bob's request<br/>2. Swap header/cookie with Alice's token
    Proxy->>Server: Send original request (Bob)
    Proxy->>Server: Send modified request (Alice)
    Proxy->>Server: Send unauthenticated request (No token)
    Server-->>Proxy: Return Bob's response (e.g. 200 OK, length 1500)
    Server-->>Proxy: Return Alice's response (e.g. 200 OK, length 1500)
    Server-->>Proxy: Return Unauth response (e.g. 401 Unauthorized, length 120)
    Note over Proxy: Compare status & lengths.<br/>Same response = potential IDOR!
    Proxy-->>Bob: Return Bob's response
  1. Install Authify from the Caido Plugin Store.
  2. Create a new Authify profile.
  3. In the profile configuration, specify the replacement values:
    • Match: Cookie header or Authorization header.
    • Replace: Enter Alice’s session cookie or token.
  4. Enable the profile.
  5. As you browse, monitor the Authify dashboard to compare response body lengths and status codes side-by-side.

Match & Replace rules alter incoming requests or outgoing responses automatically based on patterns. You can use them to test client-side bypasses and test headers.

Bypassing Location/Origin Constraints (WAF/IP checks)

Section titled “Bypassing Location/Origin Constraints (WAF/IP checks)”

Add a rule to inject headers on every outgoing request to make the server think you are accessing it locally or from an internal load balancer:

  • Match Type: Request Header
  • Match: ^User-Agent:.* (or configure it to append to the end of headers)
  • Replace: Add these lines:
    X-Forwarded-For: 127.0.0.1
    X-Originating-IP: 127.0.0.1
    X-Client-IP: 127.0.0.1
    X-Remote-IP: 127.0.0.1

If the UI determines whether you see “Admin” buttons by reading responses, write a rule to swap flags:

  • Match Type: Response Body
  • Match: "isAdmin": false
  • Replace: "isAdmin": true
  • Note: This will not bypass server-side access controls, but it will expose hidden UI dashboards so you can discover admin-only endpoints to test manually.

If the target’s JWT or session token expires every 15 minutes, your active scans, intruder payloads, and repeater tests will fail. You can automate session renewal.

  1. Go to Settings → Sessions → Session handling rules.
  2. Click Add.
  3. Under Rule actions, click Add → Run a macro.
  4. In the Macro Recorder, select the login request (POST /api/auth/login) from your history and configure it to parse the response for the new token.
  5. In the session rule, click Scope and check the box for Repeater, Intruder, and Scanner.
  6. Set the URL Scope to “Include all URLs” or target your program’s specific domain.
  7. Burp will now check the request, and if the session is detected as invalid/expired (e.g., gets a 401), it will run the macro to log back in, extract the new cookie, and swap it into the active request automatically.
  1. Go to Caido’s Automation tab.
  2. Create an On Request script or workflow.
  3. Write a JavaScript hook to extract the bearer token from a global environment variable and insert it into the outgoing request’s headers.
  4. Pair this with a background runner that updates the token whenever a login request is made.

Next step: use your proxy for recon in Section 6.

Connections7 backlinks · 1 outgoing · 3 cross-guideFull graph →
Open local graph around this page
Open full graph →
Click a node to open · Drag to reposition · Scroll to zoom

Bug Hunting for BeginnersFor authorized testing only. Read the ethics note before you put a domain in scope.