Lecture 14: Cross Site Scripting attacks

Lecture 14: Cross Site Scripting attacks

8 Qs

quiz-placeholder

Similar activities

Cross-Site Request Forgery

Cross-Site Request Forgery

University

11 Qs

Unit 3 - 2.4.12 Application Attacks Part 2

Unit 3 - 2.4.12 Application Attacks Part 2

9th Grade - University

7 Qs

Flutter Basic

Flutter Basic

University

11 Qs

Flutter Quiz

Flutter Quiz

University

10 Qs

AIJ Test 1 Firewall Jaringan

AIJ Test 1 Firewall Jaringan

9th - 12th Grade

10 Qs

Drools Module 04 Quiz

Drools Module 04 Quiz

Professional Development

6 Qs

NS: Chapter 4: FIREWALL

NS: Chapter 4: FIREWALL

University

11 Qs

Sécurité DEV - CC1 V3

Sécurité DEV - CC1 V3

Professional Development

12 Qs

Lecture 14: Cross Site Scripting attacks

Lecture 14: Cross Site Scripting attacks

Assessment

Quiz

Computers

Hard

Created by

Alejandro Gomez

Used 3+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Is web browsing stateful or stateless?

Stateful

Stateless

Both

All answers are valid

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What's the main purpose of a cookie?

To sniff user traffic in order to authenticate the user on a website

To verify the version of the browser the user is using to access a website

To enable web servers to store stateful information on the user's device or to track the user's browsing activity

All answers are correct

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which header can we use to ensure a cookie can only be accessed using HTTP or HTTPs but not using javascript?

Secure cookie

HttpOnly cookie

Persistent cookie

Third party cookie

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which are the three main types of XSS attacks?

reflected, redirected, persistent

reflected, csrf , persistent

injected, persistent and reflected

persistent, reflected and DOM based

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

How can XSS attacks be prevented?

Blocking the execution of local website javascript content

Filtering input on arrival and encoding output

Using appropriate response headers and Content Security Policies

All answers are correct.

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What kind of attack did Samy Kamkar triggered in myspace?

Reflected XSS

SQLi

Stored XSS

CSRF

7.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What is the different between stateful and stateless apps?

Stateless apps require to store the users session on the server, while stateful apps don't require it

Stateful apps require to store the users session on the server, while stateless apps don't require it

Stateful apps uses signed JWT tokens that are stored on the client side, while stateless apps use cookies

Stateless apps uses signed JWT tokens that are stored on the client side, while stateful apps use cookies

8.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

How can CSRF attacks be prevented?

Using a referer header

Using a CSRF token

Using a javascript signed cookie

All of the answers are correct