ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 74 - CS0-003 discussion

Report
Export

A security analyst is validating a particular finding that was reported in a web application vulnerability scan to make sure it is not a false positive. The security analyst uses the snippet below:

Which of the following vulnerability types is the security analyst validating?

A.
Directory traversal
Answers
A.
Directory traversal
B.
XSS
Answers
B.
XSS
C.
XXE
Answers
C.
XXE
D.
SSRF
Answers
D.
SSRF
Suggested answer: B

Explanation:

XSS (cross-site scripting) is the vulnerability type that the security analyst is validating, as the snippet shows an attempt to inject a script tag into the web application. XSS is a web security vulnerability that allows an attacker to execute arbitrary JavaScript code in the browser of another user who visits the vulnerable website. XSS can be used to perform various malicious actions, such as stealing cookies, session hijacking, phishing, or defacing websites. The other vulnerability types are not relevant to the snippet, as they involve different kinds of attacks. Directory traversal is an attack that allows an attacker to access files and directories that are outside of the web root folder. XXE (XML external entity) injection is an attack that allows an attacker to interfere with an application's processing of XML data, and potentially access files or systems. SSRF (server-side request forgery) is an attack that allows an attacker to induce the server-side application to make requests to an unintended location. Official

Reference:

https://portswigger.net/web-security/xxe

https://portswigger.net/web-security/ssrf

https://cheatsheetseries.owasp.org/cheatsheets/Server_Side_Request_Forgery_Prevention_Cheat_Sheet.html

asked 02/10/2024
George Mabry
51 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first