OWASP Top 10 Flashcards

1
Q

What are the top ten OWASP web application security risks?

A
  1. Injection
  2. Broken Authentication
  3. Sensitive Data Exposure
  4. XML External Entities (XXE)
  5. Broken Access Control
  6. Security Misconfiguration
  7. Cross-Site Scripting (XXS)
  8. Insecure Deserialization
  9. Using Components with Known Vulnerabilities
  10. Insufficient logging and Monitoring
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Define ‘Injection’

A

Injection flaws refer to SQL, NoSQL, OS and LDAP Injection attacks.

These attacks can 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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Define ‘Broken Authentication’

A

Application functions related to authentication and session management are often implemented incorrectly.

This means attackers can compromise the passwords, keys, or session tokens of users.

They can also exploit other implementation flaws to assume other user’ identities, either temporarily or permanently.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Define ‘Sensitive Data Exposure’

A

Many web applications and APIs don’t protect sensitive data properly, such as finances, 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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Define ‘XML External Entities (XXE)’

A

Many older or poorly configured XML processors evaluate external entity references within XML documents.

External entities can be used to disclose internal files using file URI handler, internal file shares, internal port scanning, remote code execution, and denial of service attacks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Define ‘Broken Access Control’

A

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 user’ accounts, view sensitive files, modify other users’ data, change access rights, etc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Define ‘Security Misconfiguration’

A

Security Misconfiguration comes down to 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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Define ‘Cross-Site Scripting (XSS)’

A

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 a malicious site.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Define ‘Insecure Deserialization’

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Define ‘Using components with Know Vulnerabilities’

A

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 be cause serious data loss or a server takeover.

Applications and APIs using components with know vulnerabilities may undermine application defences and enable various attacks and impacts.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Define ‘Insufficient Logging and Monitoring’

A

Insufficient logging and monitoring, coupled with missing or ineffective integration with incident response, allows attacks to further attack systems, maintain persistence, pivot to more systems, and taper, 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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What’s the most common security risk out of all ten?

A

Security misconfiguration - It is the most commonly seen issue.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly