Security Flashcards

1
Q

What are the goals of web security?

A

Leak prevention and user privacy

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

Leak Prevention

A

Prevent unauthorized access of information owned by an organization

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

User Privacy

A

Prevent unauthorized access of other user’s information (legally required)
- Other users by logged-in users
- All users by logged-out users

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

Remote Control Execution (RCE) on Server

A

Prevent code that is unauthorized/unknown/dangerous from being run on the server by people outside of the organization/business

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

Cross Site Scripting (XSS)

A

Unauthorized code or actions running on the client, usually the browser

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

Cross Site Request Forgery (CSRF)

A

Any action that appears to be taken on an authorized user’s behalf but isn’t actually (including GET)

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

Server Side Request Forgery (SSRF)

A

Any action that appears to be taken on an authorized server/service’s behalf but isn’t actually (including GET)

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

Denial of Service (DoS)

A

Anything that causes the website or web service to be unable to serve its normal users

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

What web weakness is the inclusion of unauthorized HTML/CSS/JS in a page?

A

Cross-Site Scripting (XSS)

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

What are the types of XSS?

A
  • Server (URL navigation, script, link, …)
  • Client (bad code from an AJAX call)
  • DOM (bad code generated by code on the client that modifies the DOM)
  • Reflected
  • Persistent
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Reflected XSS (Type 1)

A

Provided by a single server response as an immediate response to a malicious request

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

Persistent XSS (Type 2)

A

Provided by any number of server responses. The malicious code is stored on the server

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