AXSS の脆弱性は、企業の非機密/非ミッションクリティカルな公開 Web サイトの 1 つで報告されました。セキュリティ部門はこの発見を確認し、アプリケーション所有者に推奨事項を提供する必要があります。この脆弱性の悪用を防ぐのに最も効果的なのは次の推奨事項のうちどれですか? (2 つ選択してください)。
正解:D,F
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.