ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 188 - CS0-003 discussion

Report
Export

AXSS vulnerability was reported on one of the non-sensitive/non-mission-critical public websites of a company. The security department confirmed the finding and needs to provide a recommendation to the application owner. Which of the following recommendations will best prevent this vulnerability from being exploited? (Select two).

A.
Implement an IPS in front of the web server.
Answers
A.
Implement an IPS in front of the web server.
B.
Enable MFA on the website.
Answers
B.
Enable MFA on the website.
C.
Take the website offline until it is patched.
Answers
C.
Take the website offline until it is patched.
D.
Implement a compensating control in the source code.
Answers
D.
Implement a compensating control in the source code.
E.
Configure TLS v1.3 on the website.
Answers
E.
Configure TLS v1.3 on the website.
F.
Fix the vulnerability using a virtual patch at the WAF.
Answers
F.
Fix the vulnerability using a virtual patch at the WAF.
Suggested answer: D, F

Explanation:

The best recommendations to prevent an XSS vulnerability from being exploited are to implement a compensating control in the source code and to fix the vulnerability using a virtual patch at the WAF. A compensating control is a technique that mitigates the risk of a vulnerability by adding additional security measures, such as input validation, output encoding, or HTML sanitization. A virtual patch is a rule that blocks or modifies malicious requests or responses at the WAF level, without modifying the application code. These recommendations are effective, efficient, and less disruptive than the other options.

Reference: CompTIA CySA+ Study Guide: Exam CS0-003, 3rd Edition, Chapter 4: Security Operations and Monitoring, page 156; Cross Site Scripting Prevention Cheat Sheet, Section: XSS Defense Philosophy.

asked 02/10/2024
James DePhillip
45 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first