wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

WhiteBelt Session - Secure Coding - OWASP Top 10

Total questions: 10

Worksheet time: 6mins

Name
Class
Date
1.

Choose the right options to remediate SQL Injection vulnerability

[Multiple Choice]

a)


Prepared Statements

b)


Stored Procedures

c)

Escape all user supplied input

d)

Add HSTS in response headers

2.

Identify the two insecure algorithms from the below [Multiple choice]

a)


MD5

b)

PBKDF2

c)


Bcrypt

d)


SHA-1

3.

Choose HTTPS protocol version known to be secure as of date [Single choice]

a)

SSL 3.0

b)

SSL 2.0

c)

TLS 1.0

d)

TLS 1.2

4.

Choose the vulnerabilities associated with Broken Access Control:

[Multiple Choice]

a)


Vertical Privilege Escalation

b)

Insecure Direct Object References

c)

Local File Inclusion

d)


SQL Injection

5.

An application implements access control check only on the front-end HTML by disabling a button for normal users [Single choice]

a)


Front end access restriction is the best way to prevent access control issues

b)


Malicious users can enable the button on front end allowing unauthorized access

c)

Front end HTML cannot be modified by malicious users making it a safe implementation

d)


Front end restriction is the only way out, and we have to accept the risk associated

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? [Single choice]

a)

SQL Injection

b)

XML External Entities

c)


Man in the middle

d)

Cross site scripting

7.

Which of the following transactions / activities are to be logged in the applications [Single choice]

a)


Authentication successes and failures

b)

Authorization (access control) failures

c)


Session management failures

d)

All of the above

8.

What does 'Using Components with Known Vulnerabilities' vulnerability talk about [Single choice]

a)


Improper input validation at server side

b)


Vulnerable, out of date components used in applications

c)

Cookie value set insecurely

d)


None of the above

9.

An attacker was able to brute force his way to login into the application by using different combination of passwords over a period of 3 months [Single choice]

a)


Properly log all high value transactions and monitor them continuously for abnormal behaviour

b)

Ensure to use TLS v 1.2 in all communications to encrypt sensitive data

c)


Use secure cookie attribute to prevent XSS attacks

d)


All of the above

10.

Identify the impact done by attacker using PUT http method

[Single Choice]

a)


Cross Origin Resource Sharing

b)


Cross Site Scripting

c)

Cross Site Request Forgery

d)

Upload malicious files