Pcornel
Security · Web Security

Web Security Troubleshooting

Cheat sheet · https://pcornel.dk/topic.php?topic=4764

Back to the Topic

Answer

Troubleshoot web security by inspecting response headers and cookies in browser developer tools, reading CSP violation reports, testing with a proxy like Burp or ZAP, and checking server and WAF logs.

Remember

  • Browser devtools show headers and cookies.
  • CSP reports show blocked resources.
  • Proxy tools test behaviour.

First checks

  • curl -v https://<site> — request/response
  • Browser devtools console (CSP/CORS errors) — client errors
  • Server/WAF logs — blocked requests

Commands

curl -sS -D - -o /dev/null https://<host>/
Read-only/validation observation for HTTPS connection result, HTTP status and response headers from a documented read-o…
curl

Verify in this order

browser → headers/policies → errors → targeted fix

Where it usually breaks

First mismatch in asset/subject identity → trust/authentication → authorization/policy → enforcement/control → telemetry/detection → protected outcome/response; preserve identity/policy/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4764

Confirmation

Confirm action

Continue?