跟蹤 debug information 可幫助攻擊者了解系統和制定攻擊計劃。
可以將 ASP.NET 應用程序配置為輸出跟蹤調試信息。trace output 中包含了有關發送給當前頁的請求的詳細內容,包括頭文件信息、該頁面上使用的方法和控件,以及活動會話狀態。攻擊者可以調整他們從 trace output 得到的附加信息來發動針對框架、數據庫或其他應用程序所使用資源的攻擊。
啟用跟蹤信息的途徑有兩種:一種是在在頁面級別,將 <page> 指令的 Trace 屬性設置為 true;另一種是在應用程序級別,在 web.config 文件中添加一個 trace 元素,并將其 enabled 屬性設置為 true。
[1] Standards Mapping - OWASP Top 10 2004 - (OWASP 2004) A10 Insecure Configuration Management
[2] Standards Mapping - OWASP Top 10 2007 - (OWASP 2007) A6 Information Leakage and Improper Error Handling
[3] Standards Mapping - OWASP Top 10 2010 - (OWASP 2010) A6 Security Misconfiguration
[4] Standards Mapping - Security Technical Implementation Guide Version 3 - (STIG 3) APP3620 CAT II
[5] Standards Mapping - Security Technical Implementation Guide Version 3.4 - (STIG 3.4) APP3620 CAT II
[6] Standards Mapping - FIPS200 - (FISMA) CM
[7] Standards Mapping - Common Weakness Enumeration - (CWE) CWE ID 11
[8] Standards Mapping - Web Application Security Consortium 24 + 2 - (WASC 24 + 2) Information Leakage
[9] Standards Mapping - Payment Card Industry Data Security Standard Version 1.1 - (PCI 1.1) Requirement 6.5.10
[10] Standards Mapping - Payment Card Industry Data Security Standard Version 2.0 - (PCI 2.0) Requirement 6.5.5
[11] Standards Mapping - Payment Card Industry Data Security Standard Version 1.2 - (PCI 1.2) Requirement 6.5.6
[12] Robert Walling The Basics of .NET Tracing