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

    Password Management

    ABSTRACT

    在明文中存儲密碼會危及系統安全。

    EXPLANATION

    當密碼以明文形式存儲在應用程序的屬性文件或其他數據存儲中時,可能會發生 Password Management 漏洞。

    例:以下代碼從一個注冊表中讀取密碼,并利用該密碼創建一個新的網絡證書。


    ...
    string password = regKey.GetValue(passKey).ToString());
    NetworkCredential netCred =
    new NetworkCredential(username,password,domain);
    ...


    該代碼可以成功運行,但是對用于存儲密碼的注冊表項具有訪問權限的人都能讀取 password 的值。而這給了心懷不軌的雇員利用這一信息破壞系統的機會。

    REFERENCES

    [1] Standards Mapping - OWASP Top 10 2010 - (OWASP 2010) A7 Insecure Cryptographic Storage

    [2] Standards Mapping - OWASP Top 10 2007 - (OWASP 2007) A8 Insecure Cryptographic Storage

    [3] Standards Mapping - OWASP Top 10 2004 - (OWASP 2004) A8 Insecure Storage

    [4] Standards Mapping - Security Technical Implementation Guide Version 3 - (STIG 3) APP3210.1 CAT II, APP3340 CAT I

    [5] Standards Mapping - Security Technical Implementation Guide Version 3.4 - (STIG 3.4) APP3210.1 CAT II, APP3340 CAT I

    [6] Standards Mapping - Common Weakness Enumeration - (CWE) CWE ID 256

    [7] How To:Encrypt Configuration Sections in ASP.NET 2.0 Using DPAPI Microsoft

    [8] Standards Mapping - FIPS200 - (FISMA) IA

    [9] Standards Mapping - Payment Card Industry Data Security Standard Version 1.2 - (PCI 1.2) Requirement 3.4, Requirement 6.3.1.3, Requirement 6.5.8, Requirement 8.4

    [10] Standards Mapping - Payment Card Industry Data Security Standard Version 2.0 - (PCI 2.0) Requirement 3.4, Requirement 6.5.3, Requirement 8.4

    [11] Standards Mapping - Payment Card Industry Data Security Standard Version 1.1 - (PCI 1.1) Requirement 3.4, Requirement 6.5.8, Requirement 8.4


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

    97av