ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 8 - 312-96 discussion

Report
Export

Thomas is not skilled in secure coding. He neither underwent secure coding training nor is aware of the consequences of insecure coding. One day, he wrote code as shown in the following screenshot. He passed 'false' parameter to setHttpOnly() method that may result in the existence of a certain type of vulnerability. Identify the attack that could exploit the vulnerability in the above case.

A.
Denial-of-Service attack
Answers
A.
Denial-of-Service attack
B.
Client-Side Scripts Attack
Answers
B.
Client-Side Scripts Attack
C.
SQL Injection Attack
Answers
C.
SQL Injection Attack
D.
Directory Traversal Attack
Answers
D.
Directory Traversal Attack
Suggested answer: B
asked 18/09/2024
NSANG Cyril
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first