Burp Suite: the proxy between you and the app
Burp sits in the middle of your browser and the application you are allowed to test. You use it to see, change, and repeat requests the interface hid.
Diagram
From a lab profile to a server-side check
Step 1 of 4
Profile
Trust the proxy certificate only in the browser you use for the lab.
# Profile # Trust the proxy certificate only in the browser you use # for the lab.
The example on the open step is one illustration, or the fix you can paste into an application you own.
Where it sits
A testing proxy receives the browser’s requests, shows them to you, and forwards them. The browser is configured to trust the proxy’s certificate so TLS can be inspected for the sites in scope. That trust is a big deal. Install it on a lab browser profile, not on the profile you use for banking and mail. Turn the proxy off when you are done so ordinary browsing does not pass through a tool that records it.
The site map is the list of everything the browser asked for while you used the application as a normal person would. History is the same list in time order. Repeater is one request, edited and sent again, so you can change a single field and see the response. Those three ideas cover most of a careful web assessment.
What you are looking for
Read the request as a claim. This caller, this object, this action. Then read the response as what the server actually did. An authorization bug is often just a response that should have been a denial. A data leak is a response that includes fields the interface never shows. An input-handling bug is a response that treats your text as instructions, which you confirm only inside the scope and only far enough to prove it.
Intruder and active scanning fire many requests. They are loud, they can lock accounts, and they can change data. Use them only when the scope allows automated testing, with a rate the owner agreed to, against accounts that were created for the test. A single careful Repeater exchange is the better default.
GET /api/invoices/1042
Authorization: Bearer <avery’s session>
HTTP/1.1 200
{ "id": "1042", "owner": "blake@south.example" }Reading that exchange
Avery’s session asked for invoice 1042 and received Blake’s. The proxy did not “hack” anything. It showed the request the client was already allowed to send, and the server answered without checking the owner. The finding is broken object authorization. The control is an ownership check on the server for that read.
The same habit works for every interesting request: who is authenticated, which object is named, what the method changes, and whether the response matches that person’s rights. Save the pair. It is the evidence in the report, with secrets redacted.
After the proxy
Burp’s scanner and OWASP ZAP’s scanner are the automated cousins. They are useful for coverage and dangerous as a substitute for the question above. A scanner finding still needs a human to say whether it is real, whether it is in scope, and what the owner should change.
Practice on an application you run, or on a training academy that expects a proxy. Do not install the certificate on a machine you do not control, and do not point the proxy at an application that is not in the written scope.
Check yourself
Recognition and the fix. Nothing here is a procedure.
Avery’s session receives Blake’s invoice. What failed?
Go deeper
Specific techniques, exercises, and glossary cards for this topic.
- 01Reading a proxy historyA testing proxy shows the request and the response for an application you are allowed to test. Includes the diagram and a defensive fix.
- 02Cross-site scripting: reflected, stored, and DOM-based, and the defenses that stackHow untrusted text becomes script in another user’s browser, how to tell reflected, stored, and DOM-based XSS apart in a review, and why output encoding, a strict CSP, and HttpOnly cookies work together. Includes the diagram and a defensive fix.
- 03Cross-site request forgery: when the browser’s cookie is the only proofHow another site can make a signed-in browser send a state-changing request, how SameSite cookies changed the picture, where CSRF still appears, and how to verify tokens and Origin checks in a review. Includes the diagram and a defensive fix.
- 04Server-side request forgery: fetchers, internal targets, and allow-lists that holdHow features that fetch a URL — webhooks, previews, importers, PDF renderers — can be pointed at internal services, how testers confirm SSRF safely with a canary host, and how to build an allow-list that survives redirects and DNS tricks. Includes the diagram and a defensive fix.
- 05File inclusion: when a parameter chooses which code or template runsLocal and remote file inclusion in PHP-style apps and modern template loaders, why it is worse than reading a file, how to recognize it in code and responses, and the allow-list fix. Includes the diagram and a defensive fix.
- 06HTTP headers in security testing: which ones the server trusts and which ones protect usersRequest headers that applications wrongly trust (Host, X-Forwarded-For, X-Original-URL, Referer), response headers that protect users (CSP, HSTS, frame-ancestors), and how to audit both with curl and a proxy. Includes the diagram and a defensive fix.
Exercises
- 01Evidence deskRead a query review and a server-side fetch that were already collected. Name the failure and the fix.
- 02Output encoding sandboxOne display name lands in page text, an attribute, an inline script, and a link. Pick the encoder each place needs and test it with probe values.
- 03CSRF token flowFollow a CSRF token from form to server check, then pick SameSite and server checks until four forged requests fail and your own three still work.
- 04File upload validationNine uploads hit a profile picture endpoint: two real photos and seven files that should never be stored as sent. Turn on checks until every one is handled.
Glossary
- 01Cross-site scriptingA page treats attacker-controlled text as code in someone else's browser, which can steal sessions or rewrite the UI.
- 02Cross-site request forgeryA browser that is already logged in is tricked into sending a state-changing request the user did not intend.
- 03Server-side request forgeryThe server is induced to fetch a URL the attacker chooses, which can reach internal services the attacker cannot see directly.