Burp Suite and ZAP: the main capabilities
Burp Suite and ZAP are proxies between the browser and the server that show every request, header and cookie. Proxy intercepts and changes traffic, Repeater resends a request with changes, Intruder substitutes values from a list, and Collaborator catches out-of-band interactions. In CI the ZAP baseline scan is passive only, while a full scan runs active attacks and needs a separate environment and permission.
A newcomer sees an ordinary form in the browser. A pentester sees the requests under it: all parameters, headers, cookies. For this a proxy standing between the browser and the server is needed.
Burp Suite (PortSwigger):
- Proxy — intercepts and shows traffic, lets you change a request before it is sent (for HTTPS the Burp certificate is installed in the browser);
- Repeater — manually repeating a request with changes, the main tool for testing hypotheses;
- Intruder — automatically substituting values from a list into request positions (iterating ids, fields);
- Scanner (in Pro) — automatic vulnerability search;
- Collaborator — an external service for detecting out-of-band interactions (DNS/HTTP) when the response is not visible: blind SSRF, blind injections.
ZAP by Checkmarx — a free open source proxy scanner with a similar set (spider, passive and active scan, fuzzer, automation). For CI there are ready Docker scripts:
- Baseline scan — a short spider and only passive checks, attacks nothing, fits every PR;
- Full scan — spider plus active attacks, may change data and load the system; only on a separate test environment and with permission.
docker run -t ghcr.io/zaproxy/zaproxy:stable zap-baseline.py -t https://staging.example.com
Example. In Repeater userId=42 is changed to 43 and someone else's data appears: the IDOR hypothesis is confirmed in a minute.
Mistakes: running an active scan against production; not configuring authentication (the scan sees only the public part); treating "found nothing" as proof of security.
Short answer: "Proxy sees and changes traffic, Repeater tests hypotheses, Intruder automates substitution, Collaborator catches out-of-band; in CI the ZAP baseline is passive, the full scan is active".