發現沒有對應驗證定義的 Action 字段。
一個或多個 Action 字段沒有對應的驗證定義。每個字段均應具有一個 ActionClass-validation.xml 中引用的明確驗證例程。
當開發人員刪除或者重命名 action form 映射后,很容易忘記更新驗證邏輯。如果缺少驗證器定義,就表明驗證邏輯沒有得到適當維護。
驗證邏輯的維護至關重要,驗證邏輯必須與應用程序的其余部分保持同步。未經檢驗的輸入是導致當今一些最糟糕、最常見的軟件安全問題的根源。Cross-site scripting、SQL injection 和 process control 漏洞是由于缺少輸入驗證或者輸入驗證不完整造成的。雖然 J2EE 應用程序通常情況下不容易受到內存損壞的影響,但是如果 J2EE 應用程序連接到未執行數組邊界檢查的本地代碼,攻擊者就可能會利用 J2EE 應用程序中一個輸入校驗錯誤發起 buffer overflow 攻擊。
[1] Standards Mapping - OWASP Top 10 2004 - (OWASP 2004) A1 Unvalidated Input
[2] Standards Mapping - OWASP Top 10 2010 - (OWASP 2010) A6 Security Misconfiguration
[3] Standards Mapping - Security Technical Implementation Guide Version 3 - (STIG 3) APP3510 CAT I
[4] Standards Mapping - Security Technical Implementation Guide Version 3.4 - (STIG 3.4) APP3510 CAT I
[5] Standards Mapping - Common Weakness Enumeration - (CWE) CWE ID 101
[6] Standards Mapping - Payment Card Industry Data Security Standard Version 1.2 - (PCI 1.2) Requirement 6.3.1.1
[7] Standards Mapping - Payment Card Industry Data Security Standard Version 1.1 - (PCI 1.1) Requirement 6.5.1
[8] Standards Mapping - FIPS200 - (FISMA) SI
[9] T. Husted et al. Struts in Action:Building Web Applications with the Leading Java Framework Manning Publications
[10] The Struts2 Validation Framework The Apache Foundation