Skip to content
Tutorials Center
My learning

Topics

OWASP Top 10 Tutorial

Learn OWASP Top 10 step by step: 38 lessons in 9 chapters with examples, quizzes, diagrams and projects.

Start learning →

of lessons completed

Getting Started

  1. 1 What Is the OWASP Top 10? Learn what the OWASP Top 10 is, who writes it, how the categories are chosen, how the 2021 and 2025 lists differ, and how developers should use it in real projects.
  2. 2 Threat Modeling and Security Thinking Learn the security mindset: the CIA triad, assets, attackers, attack surface and STRIDE, then build a small STRIDE checklist for a web application in your browser.
  3. 3 HTTP, Sessions and Where Web Apps Break Understand the parts of an HTTP request an attacker controls, how cookies and sessions work, and why server-side checks matter, with Python parsers you can run in the browser.
  4. 4 A Safe Practice Lab and Ethical Testing Learn the legal and ethical rules for security testing, how to set up a safe local practice lab, what vulnerable training apps exist, and how this track keeps you inside the law.

Broken Access Control

  1. 5 Access Control Fundamentals (A01) Learn what broken access control is, the difference between authentication and authorization, deny-by-default, RBAC and ownership checks, with a runnable policy engine in Python.
  2. 6 IDOR and Object-Level Authorization Learn how insecure direct object references (IDOR, BOLA) let users read or change other people's data by changing an id, and how to fix them with ownership checks and scoped queries.
  3. 7 Privilege Escalation and Function-Level Access Learn vertical and horizontal privilege escalation, missing function-level checks on admin routes, tampered roles in tokens and cookies, and how to enforce roles safely.
  4. 8 Path Traversal and Forced Browsing Learn how path traversal (dot-dot-slash) and forced browsing expose files outside the intended folder, and how to fix them with canonical path checks, allow-lists and safe file serving.
  5. 9 CSRF and Cross-Origin Access Control Learn how cross-site request forgery abuses logged-in browsers, how CSRF tokens, SameSite cookies and Origin checks stop it, and how to configure CORS without opening your API.

Cryptographic Failures and Injection

  1. 10 Cryptographic Failures: Protecting Data (A02) Learn what cryptographic failures are, how to classify sensitive data, protect it in transit and at rest, and avoid weak algorithms, hard-coded keys and bad randomness.
  2. 11 Hashing, Encryption and Password Storage in Practice Learn the difference between hashing, encryption and encoding, why passwords need slow salted hashes, and see salts, iterations and constant-time comparison in runnable Python.
  3. 12 SQL Injection and Parameterized Queries Understand SQL injection by running vulnerable and safe queries against an in-memory SQLite database, then fix it with parameterized queries, allow-lists and least-privilege database accounts.
  4. 13 Cross-Site Scripting and Output Encoding Learn reflected, stored and DOM-based XSS, why output encoding by context is the main fix, and how sanitizing, HttpOnly cookies and Content Security Policy add defense in depth.
  5. 14 Command Injection and Other Injection Types Learn OS command injection, NoSQL operator injection, LDAP, header and template injection, and the shared defense: keep data separate from instructions with safe APIs and allow-lists.

Insecure Design and Misconfiguration

  1. 15 Insecure Design: Thinking Before Coding (A04) Learn what insecure design means, how it differs from insecure implementation, and apply secure design patterns: abuse cases, trust limits, rate limiting, secure defaults and tiered environments.
  2. 16 Business Logic Flaws and Abuse Cases Learn how business logic flaws such as price tampering, coupon abuse, skipped workflow steps and race conditions arise, and how to defend with server-side rules, state machines and idempotency.
  3. 17 Security Misconfiguration and Hardening (A05) Learn common security misconfigurations such as default credentials, debug mode, verbose errors and open cloud storage, and harden systems with baselines, least functionality and configuration audits.
  4. 18 Security Headers and CORS Configuration Learn the HTTP security headers every site should send (HSTS, CSP, nosniff, frame-ancestors, Referrer-Policy, Permissions-Policy), see sample configs, and audit responses with a Python checker.

Vulnerable Components and Auth Failures

  1. 19 Vulnerable and Outdated Components Understand OWASP A06: why old libraries, frameworks and runtimes put your app at risk, how known vulnerabilities spread, and how to find them safely.
  2. 20 Dependency Scanning and SBOMs Learn how software composition analysis, lock files and a Software Bill of Materials (SBOM) help you find vulnerable dependencies before attackers do.
  3. 21 Identification and Authentication Failures OWASP A07 explained: weak passwords, credential stuffing, broken session handling and missing MFA, with defensive checks you can run and apply to your own login.
  4. 22 Password Storage and Password Policy Store passwords safely with slow salted hashes like Argon2id or bcrypt, and write a modern password policy based on length, breached lists and no forced rotation.
  5. 23 Sessions, MFA and Account Lockout Secure what happens after login: session ID rotation, cookie flags, expiry, multi-factor authentication with TOTP, and rate limiting that does not lock out real users.

Integrity, Logging and SSRF

  1. 24 Software and Data Integrity Failures OWASP A08 explained: how unsigned updates, tampered build pipelines and untrusted data break integrity, and how hashes, pinning and review protect your supply chain.
  2. 25 Signatures and Safe Deserialization Protect data you hand to clients with HMAC signatures, understand why deserializing untrusted objects is dangerous, and choose safe formats like JSON with validation.
  3. 26 Security Logging and Monitoring Failures OWASP A09: what to log, what never to log, how to prevent log injection, and how to turn raw events into alerts so attacks are noticed in minutes, not months.
  4. 27 Server-Side Request Forgery (SSRF) OWASP A10: how server-side request forgery lets users make your server call internal addresses, why cloud metadata endpoints are a target, and what the flaw looks like.
  5. 28 Defending Against SSRF Prevent SSRF with allow-lists, resolved-IP validation, redirect handling, network egress rules and cloud metadata hardening, with a runnable validator stand-in.

Secure Development Lifecycle

  1. 29 The Secure Development Lifecycle Build security into every stage of software delivery: requirements, design, coding, testing, release and operations, with shift-left practice and maturity models.
  2. 30 Threat Modeling with STRIDE Learn threat modeling step by step: draw a data flow diagram, mark trust boundaries, apply STRIDE to find threats, rate risk and record mitigations.
  3. 31 Security Requirements and Secure Code Review Write testable security requirements, use ASVS and abuse cases, and review code with a focused checklist covering access control, input, secrets and error handling.

Testing and Tooling

  1. 32 SAST, DAST, SCA and IAST Compared Compare static, dynamic, composition and interactive application security testing, learn what each finds and misses, and how to combine them in a CI pipeline.
  2. 33 Authorized Testing, Scope and Rules of Engagement Learn the legal and ethical basics of security testing: written authorization, scope, rules of engagement, safe labs, responsible disclosure and reporting findings.
  3. 34 A Tour of Common Security Tools Meet the tools used in web security testing: intercepting proxies, scanners, static analyzers and image scanners, with read-only examples and safe lab practice.

Projects and Practice

  1. 35 Project: Build a Dependency Audit Tool Build a small dependency auditor step by step: parse a lock file, compare versions to an advisory feed, rank findings by severity and print a report with fixes.
  2. 36 Project: Build a Web Log Attack Detector Write a defensive log analyzer that parses web access logs, flags probing, brute-force and suspicious paths, groups by source and produces an alert summary.
  3. 37 Project: Build and Test an SSRF Guard Build a URL guard that blocks private, loopback and metadata destinations, then write a test table with tricky inputs to prove it holds. No network calls are made.
  4. 38 OWASP Top 10 Review and Practice Scenarios Review all ten OWASP categories with a map of controls, practice scenarios for matching flaws to fixes, a self-assessment checklist and ideas for what to learn next.