Security Testing and OWASP Top 10

Harry · 21 Sep 2026 · 1 views
Log in to track your progress and mark lessons complete.

Introduction to Security Testing

Security testing proves the app resists attackers: authentication, authorisation, input handling, sessions and crypto. Every tester should know the OWASP Top 10.

Core Checks

  • Authentication - lockout after retries, no password in URL/logs, secure reset tokens.
  • Authorisation - user A cannot fetch user B orders by changing the ID (IDOR); admin APIs reject normal users (403).
  • Session - rotate session ID at login, expire on logout, HttpOnly + Secure cookies.

Injection Attacks

  • SQL injection - try admin OR 1=1 -- in login; expect rejection, never a dump.
  • XSS - submit <script>alert(1)</script> in comments; it must render as text, never execute.
  • CSRF - state-changing requests must need anti-CSRF tokens, not just cookies.

OWASP Top 10 (2021) at a Glance

  • Broken Access Control, Cryptographic Failures, Injection, Insecure Design.
  • Security Misconfiguration, Vulnerable Components, Auth Failures.
  • Integrity Failures, Logging/Monitoring Failures, SSRF.

Security Testing Tools

  • OWASP ZAP / Burp Suite for proxy scanning and fuzzing.
  • Dependency scanners (OWASP Dependency-Check) for known CVEs.
  • Browser devtools plus sqlmap for targeted probes.

OWASP Top 10 shield - broken access control, injection, authentication failures

Key Points

  • Deny by default; validate on the server, never only in JS.
  • Test with attacker eyes: tamper IDs, tokens and prices.
  • Log security events so attacks are visible.
Share this post:

Comments (0)

Please login or register to comment.

Create a free account to keep reading

You've enjoyed a free tutorial! Register (it's free) to unlock every tutorial, track your progress and save code.

or sign in with your account

Already have an account? Log in