wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Web Application Security Testing-PreTest

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

Which of the following threats is most likely to be caused by poor input validation?

a)

Enabling of IPSec

b)

Insecure direct object reference

c)

Insufficient transport layer protection

d)

Insecure cryptographic storage

2.

What happens when an application takes user inputted data and sends it to a web browser without proper validation and escaping?

a)

Security Mis-configuration

b)

Cross Site Scripting

c)

Insecure Direct Object Reference

d)

Broken Authentication and Session Management

3.

An attack technique that forces a user’s session credential or session ID to an explicit value

a)

Brute Force Attack

b)

Session Hijacking

c)

Session Fixation

d)

Dictionary Attack

4.

What threat arises from not flagging HTTP cookies with tokens as secure?

a)

Session Hijacking

b)

Insecure Cryptographic Storage

c)

Access Control Violation

d)

Session Replay

5.

How does malicious input flow in a DOM-based XSS?

a)

From Server to Client

b)

From Client to Server

c)

From Attacker to Server

d)

From Victim to Server

6.

Which attack can execute scripts in the user’s browser and is capable of hijacking user sessions, defacing websites or redirecting the user to malicious sites

a)

SQL injection

b)

Cross Site Scripting

c)

Malware Uploading

d)

Man in the Middle

7.

What flaw can lead to exposure of resources or functionality to unintended actors?

a)

Session Fixation

b)

Improper authentication

c)

Insecure Cryptographic Storage

d)

Invalidated redirects and forwards

8.

Role-Based Access control helps prevent this OWASP Top 10 weakness

a)

Failure to restrict URL Access

b)

Invalidated Redirect or Forward

c)

Security Mis-configuration

d)

Insufficient Transport Layer Protection

9.

What is the type of flaw that occurs when un trusted user entered data is sent to the interpreter as part of a query or command?

a)

Insecure Direct Object References

b)

Injection

c)

Cross Site Request Forgery

d)

Insufficient Transport Layer Protection

10.

For every link or form which invoke state-changing functions with an unpredictable token for each user what attack can be prevented?

a)

OS Commanding

b)

Cross-site Scripting

c)

Cross-site Request Forgery

d)

Cross-site tracing

11.

Which of the following consequences is most likely to occur due to an injection attack

a)

Spoofing

b)

Cross-Site request Forgery

c)

Denial Of Service

d)

Insecure Direct Object Reference

12.

Attack that exploits the trust that a site has in a user's browser

a)

Session Hijacking

b)

Cross-Site Request Forgery

c)

SQL injection

d)

Cross-Site Scripting

13.

We can allow client side scripts to execute in the browsers for needed operations

a)

TRUE

b)

FALSE

14.

What is phishing

a)

Data Transfer Protocol

b)

Email Scam

c)

Network Scandal

d)

Cross Domain Scam

15.

You receive an e-mail from bank saying that you have won a contest. What should you do

a)

Provide the information so you can claim your prize as quickly as possible

b)

Answer the e-mail and ask them to call you with more information

c)

Contact your bank to confirm the information

d)

Forward the mail to others for their opinion

16.

The use of proper security techniques can (choose two)

a)

Minimize the threat of attackers

b)

Allow access to unauthorized users

c)

Prevent most hackers from accessing your system

d)

Provide 100 percent security

17.

Network permissions should be established so that users can accomplish their tasks, but cannot access any system resources that are not necessary so that

a)

A hacker cannot steal a legitimate user's identity

b)

Users will not have access to and misuse system resources

c)

Only the resources authorized for that user will be at risk

d)

Hackers will not pose as legitimate users

18.

Which of the following are most often associated with a security misconfiguration threat? (Choose two.)

a)

Unused services

b)

Default accounts

c)

Bad cryptography

d)

Unsafe key storage

19.

For a connection that changes from HTTP to HTTPS, what flaw arises if you do not change the session identifier

a)

Session replay

b)

Cross-Site Scripting

c)

Cross-Site Request Forgery

d)

Session Hijacking

20.

You should set a secure flag in a cookie to ensure that:

a)

The cookie is a persistent cookie

b)

The cookie is sent over an encrypted channel

c)

The cookie is deleted when the user closes the browser

d)

The cookie is not available to client script