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

    Hidden Field

    ABSTRACT

    該程序創建了一個隱藏的表單字段。

    EXPLANATION

    程序員通常信任隱藏字段的內容,認為用戶不會查看它們或操作其內容。攻擊者則會推翻這些假設。他們將檢查寫入隱藏字段的值,更改它們,或使用攻擊數據替換這些內容。



    例:


    Hidden hidden = new Hidden(element);


    如果隱藏字段包含敏感信息,那么就會像捕捉該頁面的其余部分一樣捕捉這些信息。這會導致敏感信息在用戶不知情的情況下在瀏覽器緩存中被隱藏起來。

    REFERENCES

    [1] Standards Mapping - Security Technical Implementation Guide Version 3 - (STIG 3) APP3610 CAT I

    [2] Standards Mapping - Security Technical Implementation Guide Version 3.4 - (STIG 3.4) APP3610 CAT I

    [3] Standards Mapping - Common Weakness Enumeration - (CWE) CWE ID 472, CWE ID 642

    [4] Input Validation and Representation Fortify, An HP Company

    [5] Standards Mapping - SANS Top 25 2009 - (SANS 2009) Risky Resource Management - CWE ID 642


    Copyright 2013 Fortify Software - All rights reserved.
    (Generated from version 2013.1.1.0008 of the Fortify Secure Coding Rulepacks)
    desc.semantic.java.hidden_field

    97av