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

    J2EE Misconfiguration: Unsafe Bean Declaration

    ABSTRACT

    不應該從遠程聲明實體 bean。

    EXPLANATION

    暴露遠程接口的實體 bean 可能會成為應用程序遭到攻擊的突破口。出于性能方面的考慮,應用程序幾乎不使用遠程實體 bean。因此,很有可能會發生這樣的情況:對遠程實體 bean 的聲明錯誤。

    例 1:以下對實體 bean 的聲明包含了一個遠程接口:


    <ejb-jar>
    <enterprise-beans>
    <entity>
    <ejb-name>EmployeeRecord</ejb-name>
    <home>com.wombat.empl.EmployeeRecordHome</home>
    <remote>com.wombat.empl.EmployeeRecord</remote>
    ...
    </entity>
    ...
    </enterprise-beans>
    </ejb-jar>

    REFERENCES

    [1] Standards Mapping - OWASP Top 10 2007 - (OWASP 2007) A10 Failure to Restrict URL Access

    [2] Standards Mapping - OWASP Top 10 2004 - (OWASP 2004) A2 Broken Access Control

    [3] Standards Mapping - OWASP Top 10 2010 - (OWASP 2010) A8 Failure to Restrict URL Access

    [4] Standards Mapping - FIPS200 - (FISMA) AC

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

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

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

    [8] A. Taylor et al. J2EE & Java:Developing Secure Web Applications with Java Technology (Hacking Exposed) Osborne/McGraw-Hill

    [9] Standards Mapping - Payment Card Industry Data Security Standard Version 1.2 - (PCI 1.2) Requirement 6.5.10, Requirement 7.2

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

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


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

    97av