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

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

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

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

            J2EE Misconfiguration: Missing Servlet Mapping

            ABSTRACT

            web.xml 中定義的 Servlet 必須通過相應的 servlet 映射才能訪問。

            EXPLANATION

            缺少有效的 servlet 映射會阻止用戶對未映射的 servlet 的所有訪問。



            例 1:web.xml 中的以下條目定義了 ExampleServlet,但未定義相應的 servlet 映射。


            <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
            version="2.4">

            <servlet>
            <servlet-name>ExampleServlet</servlet-name>
            <servlet-class>com.class.ExampleServlet</servlet-class>
            <load-on-startup>1</load-on-startup>
            </servlet>

            </web-app>

            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_servlet_mapping

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

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

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

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

                      亚洲欧美在线