OWASP Top 10
A CompSci Talks seminar on November 9, 2025 at 11:00 AM.
Prof Entisarat Seminar Hall
Abstract
This lecture provides a comprehensive overview of the **OWASP Top 10** web application security vulnerabilities, specifically focusing on the 2021 list while providing historical context from 2017 and previews for 2025. --- # **Lecture Summary: OWASP Top 10 Vulnerabilities** ## **1. Introduction to OWASP** * **Definition:** OWASP stands for **Open Web Application Security Project**. It is a global community dedicated to improving software security. * **The Top 10 List:** A standard awareness document for developers and web application security professionals. It represents a broad consensus on the most critical security risks to web applications, updated approximately every three years. --- ## **2. Technical Fundamentals** Before diving into vulnerabilities, the session established how web communications work: * **Client-Server Request:** Requires four pieces of information: IP Address, Port Number, Protocol (HTTP/HTTPS), and the Resource (the specific file/page). * **Static vs. Dynamic Pages:** * **Static:** Served directly by the Web Server (HTML/CSS). * **Dynamic:** Requires an **Application Server** to query a Database and return user-specific data (e.g., profiles, shopping carts). * **Tools Mentioned:** **Burp Suite** (used to intercept and modify HTTP requests/responses). --- ## **3. The OWASP Top 10 (2021 Rankings)** ### **#10 Server-Side Request Forgery (SSRF)** * **Concept:** Tricking a server into making a request to an internal or unintended resource. * **Example:** A feature that allows a user to "Upload via URL." If an attacker inputs an internal admin URL, the server might fetch and display sensitive internal data. * **Mitigation:** URL whitelisting, validating input protocols, and restricting access to internal IPs (like `localhost`). * **Trend:** Rising significance; projected to be #1 in 2025. ### **#9 Security Logging and Monitoring Failures** * **Concept:** The failure to record security-relevant events or to detect/respond to active attacks. * **Importance:** Without proper logs, automated attacks (like brute force) go unnoticed. * **Trend:** Constant threat; vital for incident response. ### **#8 Software and Data Integrity Failures** * **Concept:** Code or infrastructure that does not protect against integrity violations (e.g., malicious code injected into a library or the CI/CD pipeline). * **Fix:** Use digital signatures and strict code reviews (Pull Requests) to ensure no unauthorized changes occur during development. ### **#7 Identification and Authentication Failures** * **Concept:** Weaknesses in user identity verification (formerly "Broken Authentication"). * **Key Risks:** Credential stuffing (using leaked passwords), permitting weak passwords, or lack of Multi-Factor Authentication (MFA). * **Trend:** Dropped in rank due to the widespread adoption of MFA and secure frameworks. ### **#6 Vulnerable and Outdated Components** * **Concept:** Using libraries, frameworks, or dependencies that have known security flaws. * **Challenge:** Modern apps have hundreds of nested dependencies; if one is outdated, the entire system is at risk. ### **#5 Security Misconfiguration** * **Concept:** Insecure default settings, open ports, or unnecessary features. * **Specific Risk:** Leaving **Debug Mode** active in production, which can expose internal system paths and sensitive logs. * **Trend:** Shifting toward #2 in the 2025 preview. ### **#4 Insecure Design** * **Concept:** Security flaws built into the application's logic from the start. * **Example:** A shopping cart that sends the "Price" in the editable HTTP request, allowing an attacker to change the cost using Burp Suite before checkout. * **Solution:** Implementing a **Secure Software Development Life Cycle (S-SDLC)** where security is part of the design and risk assessment phases. ### **#3 Injection** * **Concept:** Sending malicious data to an interpreter to execute unintended commands. * **Types:** * **SQL Injection (SQLi):** Bypassing logins using `' OR 1=1 --`. * **Cross-Site Scripting (XSS):** Injecting scripts into comments/fields to execute in other users' browsers. * **Trend:** Dropping in rank because modern frameworks (like React/Angular) provide built-in protections. ### **#2 Cryptographic Failures** * **Concept:** Exposure of sensitive data due to weak encryption or lack of encryption. * **Risks:** Using weak algorithms (e.g., MD5, SHA1), predictable keys, or storing data in plain text in backups or databases. ### **#1 Broken Access Control** * **Concept:** Users being able to act outside of their intended permissions. * **Types:** * **Horizontal:** Accessing another user's data. * **Vertical:** A standard user accessing admin panels. * **Fix:** Strict server-side verification of permissions for *every* single request, rather than relying on front-end UI restrictions. --- ## **4. Key Takeaways & Notes** * **S-SDLC:** Security must be shifted "left"�integrated into the design and requirement phases rather than just the testing phase. * **The "Burp Suite" Factor:** Many vulnerabilities (like Insecure Design and Injection) are easily exploited by intercepting and modifying requests between the client and the server. * **Frameworks:** While modern frameworks help mitigate Injection and Authentication errors, they introduce new risks regarding outdated dependencies and complex misconfigurations.