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

    J2EE Misconfiguration: Missing Security Role

    ABSTRACT

    引用了不存在的 role-name 的安全限制會造成用戶無法正常訪問其所保護的所有資源。

    EXPLANATION

    auth-constraint 中定義的 role-name 中缺少 security-role,可能表明存在過時的配置。



    例 1:以下示例指定了 role-name,但并未在 security-role 中對其進行定義。


    <security-constraint>
    <web-resource-collection>
    <web-resource-name>AdminPage</web-resource-name>
    <description>Admin only pages</description>
    <url-pattern>/auth/noaccess/*</url-pattern>
    </web-resource-collection>

    <auth-constraint>
    <description>Administrators only</description>
    <role-name>admin</role-name>
    </auth-constraint>

    <user-data-constraint>
    <transport-guarantee>INTEGRAL</transport-guarantee>
    </user-data-constraint>
    </security-constraint>

    REFERENCES

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

    [2] Standards Mapping - OWASP Top 10 2004 - (OWASP 2004) A9 Application Denial of Service

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

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

    [5] Standards Mapping - Common Weakness Enumeration - (CWE) CWE ID 730

    [6] Sun Microsystems, Inc. Java Servlet Specification 2.4

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


    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_missing_security_role

    97av