<span id="7ztzv"></span>
<sub id="7ztzv"></sub>

<span id="7ztzv"></span><form id="7ztzv"></form>

<span id="7ztzv"></span>

        <address id="7ztzv"></address>

            Cookie Security: Persistent Session Cookie

            ABSTRACT

            永久性會話 cookie 可導致危及帳戶安全。

            EXPLANATION

            永久性會話 cookie 在用戶關閉了瀏覽器后仍然保持有效,并通常用作“記住我的信息”功能的一部分。因此,即使在用戶關閉了瀏覽器后,永久性會話 cookie 也會使他們保持應用程序認證狀態 — 假設他們沒有明確注銷。這就意味著如果第二個用戶打開瀏覽器,他將以上個用戶的身份自動登錄。除非在受控環境中部署了應用程序,而在該環境中,不允許用戶從共享計算機登錄,否則即使用戶關閉了瀏覽器,攻擊者也可能危及用戶帳戶的安全。


            例:以下配置將會話 cookie 設置為在 2 小時后過期。


            session.cookie_lifetime = 7200;

            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

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

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

            [7] Standards Mapping - Web Application Security Consortium 24 + 2 - (WASC 24 + 2) Insufficient Authentication

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

            [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

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

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

            [12] Runtime Configuration The PHP Group


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

            <span id="7ztzv"></span>
            <sub id="7ztzv"></sub>

            <span id="7ztzv"></span><form id="7ztzv"></form>

            <span id="7ztzv"></span>

                  <address id="7ztzv"></address>

                      亚洲欧美在线