Open to everyone Reading, lesson 53 of 100, 2 min read
The OWASP Top 10
A shared list of the biggest risks
OWASP (the Open Worldwide Application Security Project) is a non-profit community that publishes free guidance on web security. Its best-known document is the OWASP Top 10, a list of the most important web application risks, updated every few years from real-world data.
The 2021 edition lists:
| # | Risk | In short |
|---|---|---|
| A01 | Broken access control | Users can do or see things they should not |
| A02 | Cryptographic failures | Sensitive data not encrypted, or encrypted badly |
| A03 | Injection | Untrusted input treated as code or commands (SQL, OS commands) |
| A04 | Insecure design | Security missing from the design itself |
| A05 | Security misconfiguration | Default settings, verbose errors, unneeded features switched on |
| A06 | Vulnerable and outdated components | Old libraries and frameworks with known flaws |
| A07 | Identification and authentication failures | Weak sign-in, no MFA, poor session handling |
| A08 | Software and data integrity failures | Updates or code loaded without checking they are genuine |
| A09 | Security logging and monitoring failures | Attacks happen and nobody notices |
| A10 | Server-side request forgery (SSRF) | The server can be tricked into fetching internal addresses |
OWASP revises the list periodically; check its website for the latest edition. The ideas behind it change slowly.
Broken access control comes first
Notice that the top risk is not a clever technical trick but a simple failure to check permissions. Examples:
- changing
/results/1043to/results/1044shows another student's results (an insecure direct object reference); - a normal user reaching
/adminbecause the page only hid the link; - an API that returns every user's email when it should return only yours.
The fix is the same each time: on the server, for every request, check that this user may do this action on this item.
Tip
OWASP also publishes the free Cheat Sheet Series: short, practical guides for developers on each topic. Bookmark it.