ある企業の機密性や業務上の重要性が低い公開ウェブサイトの1つで、AXSS脆弱性が報告されました。セキュリティ部門はこの脆弱性を確認し、アプリケーション所有者に推奨事項を提示する必要があります。以下の推奨事項のうち、この脆弱性の悪用を最も効果的に防止できるのはどれですか?(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. References:
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.