Zum Hauptinhalt springen

Week 7 — Web vulnerabilities (OWASP Top 10)

Learning objectives

  • Understand the logic behind each Top 10 category, do not memorize it.
  • Use Burp Suite in intercept and repeater mode effectively.
  • Write a clean proof of exploitation: request, response, impact.

The 2021 categories in one sentence each

CategoryCentral idea
A01 – Broken access controlsThe application allows what it should forbid.
A02 – Cryptographic failuresSensitive data poorly encrypted or in clear.
A03 – InjectionUser data executed as code (SQL, LDAP, OS).
A04 – Insecure designDesign flaw, not code.
A05 – Security misconfigurationDefaults, verbosity, missing headers.
A06 – Vulnerable componentsOutdated dependencies.
A07 – Identification / authWeak sessions, weak passwords, missing MFA.
A08 – Software integrityCompromised supply chain.
A09 – Insufficient loggingNothing is visible.
A10 – SSRFThe server is guided toward internal targets.

Burp Suite in practice

  1. Configure Firefox to use Burp as a proxy (127.0.0.1:8080), install the Burp certificate.
  2. Proxy → Intercept: capture an interesting request (form submission, API call).
  3. Repeater: send and replay the request, varying one parameter at a time.
  4. Intruder: parametric payloads. One insertion point at a time to stay readable.

Two examples to master

SQL injection — Really verify

Do not settle for a ' OR 1=1 -- that "returns more rows". Confirm with a controlled extraction:

GET /products?id=42 UNION SELECT null, current_database(), null --

The response must contain a coherent database name. Without this evidence, it is only a hypothesis.

Stored XSS — Concrete impact

A <script>alert(1)</script> proves storage, not impact. The demonstration expected in a report: a session theft toward a controlled endpoint, or a forced action via fetch('/api/user/delete', {method:'POST', credentials:'include'}).

Lab 2 kick-off

You pick one vulnerable application from the lab (Juice Shop, DVWA or equivalent). Deliverable for week 9:

  • Three Top 10 vulnerabilities exploited, each with request, response, impact.
  • A concrete remediation per vulnerability.