Skip to content

Commit 39b4370

Browse files
Update OWASP Top 10 list to 2021
Signed-off-by: David A. Wheeler <[email protected]>
1 parent 9621f3e commit 39b4370

File tree

1 file changed

+38
-22
lines changed

1 file changed

+38
-22
lines changed

secure_software_development_fundamentals.md

Lines changed: 38 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4827,33 +4827,25 @@ Today formal methods are only used in special circumstances, but they might beco
48274827

48284828
### OWASP Top 10
48294829

4830-
We noted earlier that there are two widely-used lists of “top” vulnerabilities, the OWASP Top 10 Web Application Security Risks and the CWE Top 25. They identify what they perceive as the “top” items in terms of being especially common and especially dangerous.
4830+
We noted earlier that there are two widely-used lists of “top” vulnerabilities, the OWASP Top 10 (focusing on web application security risks) and the CWE Top 25. They identify what they perceive as the “top” items in terms of being especially common and especially dangerous.
48314831

4832-
Their different scopes result in many differences. For example, the CWE Top 25 lists buffer overflows, while the OWASP Top 10 Web Application Security Risks does not, because buffer overflows are a common serious problem in some domains (such as embedded systems) but they are not common in web applications.
4832+
Their different scopes result in many differences. For example, the CWE Top 25 lists buffer overflows, while the OWASP Top 10 does not, because buffer overflows are a common serious problem in some domains (such as embedded systems) but they are not common in web applications.
48334833

4834-
Here is the [OWASP](https://owasp.org/www-project-top-ten/) [*Top 10 Web Application Security Risks*](https://owasp.org/www-project-top-ten/) (2017 edition); please read this list to make sure you understand each one:
4834+
Here is the [*OWASP Top 10*](https://owasp.org/Top10/) (2021 edition) list of categories:
48354835

4836-
1. *“Injection. Injection flaws, such as SQL, NoSQL, OS, and LDAP injection, occur when untrusted data is sent to an interpreter as part of a command or query. The attacker’s hostile data can trick the interpreter into executing unintended commands or accessing data without proper authorization.*
4837-
4838-
2. *Broken Authentication. Application functions related to authentication and session management are often implemented incorrectly, allowing attackers to compromise passwords, keys, or session tokens, or to exploit other implementation flaws to assume other users’ identities temporarily or permanently.*
4839-
4840-
3. *Sensitive Data Exposure. Many web applications and APIs do not properly protect sensitive data, such as financial, healthcare, and PII. Attackers may steal or modify such weakly protected data to conduct credit card fraud, identity theft, or other crimes.* *Sensitive data may be compromised without extra protection, such as encryption at rest or in transit, and requires special precautions when exchanged with the browser.*
4841-
4842-
4. *XML External Entities (XXE). Many older or poorly configured XML processors evaluate external entity references within XML documents. External entities can be used to disclose internal files using the file URI handler, internal file shares, internal port scanning, remote code execution, and denial of service attacks.*
4843-
4844-
5. *Broken Access Control. Restrictions on what authenticated users are allowed to do are often not properly enforced. Attackers can exploit these flaws to access unauthorized functionality and/or data, such as access other users’ accounts, view sensitive files, modify other users’ data, change access rights, etc.*
4845-
4846-
6. *Security Misconfiguration. Security misconfiguration is the most commonly seen issue. This is commonly a result of insecure default configurations, incomplete or ad hoc configurations, open cloud storage, misconfigured HTTP headers, and verbose error messages containing sensitive information. Not only must all operating systems, frameworks, libraries, and applications be securely configured, but they must be patched/upgraded in a timely fashion.*
4847-
4848-
7. *Cross-Site Scripting XSS. XSS flaws occur whenever an application includes untrusted data in a new web page without proper validation or escaping, or updates an existing web page with user-supplied data using a browser API that can create HTML or JavaScript. XSS allows attackers to execute scripts in the victim’s browser which can hijack user sessions, deface web sites, or redirect the user to malicious sites.*
4849-
4850-
8. *Insecure Deserialization. Insecure deserialization often leads to remote code execution. Even if deserialization flaws do not result in remote code execution, they can be used to perform attacks, including replay attacks, injection attacks, and privilege escalation attacks.*
4836+
1. Broken Access Control
4837+
2. Cryptographic Failures
4838+
3. Injection
4839+
4. Insecure Design
4840+
5. Security Misconfiguration
4841+
6. Vulnerable and Outdated Components
4842+
7. Identification and Authentication Failures
4843+
8. Software and Data Integrity Failures
4844+
9. Security Logging and Monitoring Failures
4845+
10. Server Side Request Forgery (SSRF)
48514846

4852-
9. *Using Components with Known Vulnerabilities. Components, such as libraries, frameworks, and other software modules, run with the same privileges as the application. If a vulnerable component is exploited, such an attack can facilitate serious data loss or server takeover. Applications and APIs using components with known vulnerabilities may undermine application defenses and enable various attacks and impacts.*
4853-
4854-
10. *Insufficient Logging & Monitoring. Insufficient logging and monitoring, coupled with missing or ineffective integration with incident response, allows attackers to further attack systems, maintain persistence, pivot to more systems, and tamper, extract, or destroy data. Most breach studies show time to detect a breach is over 200 days, typically detected by external parties rather than internal processes or monitoring.”*
48554847

4856-
In this course we have covered all of the 2017 OWASP Top 10 and included cross-references when we did.
4848+
In this course we have covered all of the OWASP Top 10, in both the [2017](https://owasp.org/www-project-top-ten/2017/Top_10) and [2021](https://owasp.org/Top10/) editions, and included cross-references when we did.
48574849

48584850
### Quiz 4.5
48594851

@@ -5173,6 +5165,30 @@ Many others discuss how to develop secure software. This course merely covers th
51735165

51745166
## OWASP Top 10 and CWE Top 25
51755167

5168+
### OWASP Top 10 (2017 edition)
5169+
5170+
Here is the OWASP *Top 10 Web Application Security Risks* (2017 edition); please read this list to make sure you understand each one:
5171+
5172+
1. *“Injection. Injection flaws, such as SQL, NoSQL, OS, and LDAP injection, occur when untrusted data is sent to an interpreter as part of a command or query. The attacker’s hostile data can trick the interpreter into executing unintended commands or accessing data without proper authorization.*
5173+
5174+
2. *Broken Authentication. Application functions related to authentication and session management are often implemented incorrectly, allowing attackers to compromise passwords, keys, or session tokens, or to exploit other implementation flaws to assume other users’ identities temporarily or permanently.*
5175+
5176+
3. *Sensitive Data Exposure. Many web applications and APIs do not properly protect sensitive data, such as financial, healthcare, and PII. Attackers may steal or modify such weakly protected data to conduct credit card fraud, identity theft, or other crimes.* *Sensitive data may be compromised without extra protection, such as encryption at rest or in transit, and requires special precautions when exchanged with the browser.*
5177+
5178+
4. *XML External Entities (XXE). Many older or poorly configured XML processors evaluate external entity references within XML documents. External entities can be used to disclose internal files using the file URI handler, internal file shares, internal port scanning, remote code execution, and denial of service attacks.*
5179+
5180+
5. *Broken Access Control. Restrictions on what authenticated users are allowed to do are often not properly enforced. Attackers can exploit these flaws to access unauthorized functionality and/or data, such as access other users’ accounts, view sensitive files, modify other users’ data, change access rights, etc.*
5181+
5182+
6. *Security Misconfiguration. Security misconfiguration is the most commonly seen issue. This is commonly a result of insecure default configurations, incomplete or ad hoc configurations, open cloud storage, misconfigured HTTP headers, and verbose error messages containing sensitive information. Not only must all operating systems, frameworks, libraries, and applications be securely configured, but they must be patched/upgraded in a timely fashion.*
5183+
5184+
7. *Cross-Site Scripting XSS. XSS flaws occur whenever an application includes untrusted data in a new web page without proper validation or escaping, or updates an existing web page with user-supplied data using a browser API that can create HTML or JavaScript. XSS allows attackers to execute scripts in the victim’s browser which can hijack user sessions, deface web sites, or redirect the user to malicious sites.*
5185+
5186+
8. *Insecure Deserialization. Insecure deserialization often leads to remote code execution. Even if deserialization flaws do not result in remote code execution, they can be used to perform attacks, including replay attacks, injection attacks, and privilege escalation attacks.*
5187+
5188+
9. *Using Components with Known Vulnerabilities. Components, such as libraries, frameworks, and other software modules, run with the same privileges as the application. If a vulnerable component is exploited, such an attack can facilitate serious data loss or server takeover. Applications and APIs using components with known vulnerabilities may undermine application defenses and enable various attacks and impacts.*
5189+
5190+
10. *Insufficient Logging & Monitoring. Insufficient logging and monitoring, coupled with missing or ineffective integration with incident response, allows attackers to further attack systems, maintain persistence, pivot to more systems, and tamper, extract, or destroy data. Most breach studies show time to detect a breach is over 200 days, typically detected by external parties rather than internal processes or monitoring.”*
5191+
51765192
### CWE Top 25 (2019 edition)
51775193

51785194
Here is the 2019 edition of the [CWE Top 25 Most Dangerous Software Errors](https://cwe.mitre.org/top25/archive/2019/2019_cwe_top25.html). This list was created using real-world data, specifically, the publicly known vulnerabilities with Common Vulnerabilities and Exposures (CVE) as published in the National Institute of Standards and Technology (NIST) National Vulnerability Database (NVD), including the severity scores as calculated using the Common Vulnerability Scoring System (CVSS) scores. This list combines many different kinds of software; whether or not that is good depends on your perspective.

0 commit comments

Comments
 (0)