<dd id="sga4y"><optgroup id="sga4y"></optgroup></dd>
<nav id="sga4y"><code id="sga4y"></code></nav>
  • <optgroup id="sga4y"></optgroup>

    WCF Misconfiguration: Debug Information

    ABSTRACT

    調試信息可幫助攻擊者了解系統并規劃攻擊方式。

    EXPLANATION

    Windows Communication Framework (WCF) 服務可以配置成顯示調試信息。在生產環境中,不應使用 Debug Information。<serviceDebug> 標簽可定義是否對 WCF 服務啟用 Debug Information 功能。



    如果將屬性 includeExceptionDetailInFaults 設為 true,則會將該應用程序產生的異常信息返回到客戶端。攻擊者可以利用他們從調試輸出中獲得的其他信息,對應用程序所用的框架、數據庫或其他資源發動攻擊。

    示例:下列配置文件包含 <serviceDebug> 標簽:


    <configuration>
    <system.serviceModel>
    <behaviors>
    <serviceBehaviors>
    <behavior name="MyServiceBehavior">
    <serviceDebug includeExceptionDetailInFaults="True" httpHelpPageEnabled="True"/>
    ...

    REFERENCES

    [1] Microsoft

    [2] Standards Mapping - OWASP Top 10 2004 - (OWASP 2004) A10 Insecure Configuration Management

    [3] Standards Mapping - OWASP Top 10 2007 - (OWASP 2007) A6 Information Leakage and Improper Error Handling

    [4] Standards Mapping - OWASP Top 10 2010 - (OWASP 2010) A6 Security Misconfiguration

    [5] Standards Mapping - Security Technical Implementation Guide Version 3 - (STIG 3) APP3620 CAT II

    [6] Standards Mapping - Security Technical Implementation Guide Version 3.4 - (STIG 3.4) APP3620 CAT II

    [7] Standards Mapping - FIPS200 - (FISMA) CM

    [8] Standards Mapping - Common Weakness Enumeration - (CWE) CWE ID 215

    [9] Standards Mapping - Web Application Security Consortium 24 + 2 - (WASC 24 + 2) Information Leakage

    [10] Standards Mapping - Payment Card Industry Data Security Standard Version 1.1 - (PCI 1.1) Requirement 6.5.10

    [11] Standards Mapping - Payment Card Industry Data Security Standard Version 2.0 - (PCI 2.0) Requirement 6.5.5

    [12] Standards Mapping - Payment Card Industry Data Security Standard Version 1.2 - (PCI 1.2) Requirement 6.5.6


    Copyright 2013 Fortify Software - All rights reserved.
    (Generated from version 2013.1.1.0008 of the Fortify Secure Coding Rulepacks)
    desc.config.dotnet.wcf_misconfiguration_debug_information

    97av