Courses

Common Web Application Attacks
OSCP · Chapter 6

Common Web Application Attacks

This chapter is a tour of the most common web application attack classes you will encounter repeatedly: injection, broken access control, and insecure configuration. Recognizing the pattern quickly is more valuable than memorizing any single payload.

Key concepts

  • Injection: untrusted input reaches an interpreter (SQL, OS shell, LDAP) without separation between code and data.
  • Broken access control: the server trusts a client-supplied identifier (user ID, object ID) without re-checking permission on the server side (IDOR).
  • Security misconfiguration: default credentials, verbose error/debug pages, and directory listing left enabled in production.
  • Most real breaches chain several small issues together — an information leak plus a weak access control check is often enough for full compromise.

Try it yourself

On a vulnerable lab app (DVWA, Juice Shop), find one example each of an injection flaw and a broken access control flaw, and write one sentence explaining the trust boundary that failed in each.

@ Daniel Burlacu