弱安全限制不能為安全性關鍵的資源提供足夠的保護。
單個 <security constraint> 元素指示程序不使用基于角色的 access control,而該 access control 是用于保護安全 Web 應用程序中的敏感操作而獲得普遍接受的最佳做法。如果應用程序提供對敏感操作或數據的訪問權限,那么可能就沒有足夠的控制能夠防止未經授權的用戶進行訪問。而且,如果在 <url-pattern> 中有通配符 (*),那么可能表示該模式的范圍很廣泛。
[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) APP3470.1 CAT II, APP3470.4 CAT II
[6] Standards Mapping - Security Technical Implementation Guide Version 3.4 - (STIG 3.4) APP3470.1 CAT II, APP3470.4 CAT II
[7] Standards Mapping - Common Weakness Enumeration - (CWE) CWE ID 285
[8] Standards Mapping - Web Application Security Consortium 24 + 2 - (WASC 24 + 2) Insufficient Authentication
[9] Standards Mapping - SANS Top 25 2009 - (SANS 2009) Porous Defenses - CWE ID 285
[10] Standards Mapping - SANS Top 25 2010 - (SANS 2010) Porous Defenses - CWE ID 285
[11] Standards Mapping - SANS Top 25 2011 - (SANS Top 25 2011) Porous Defenses - CWE ID 863
[12] Standards Mapping - Payment Card Industry Data Security Standard Version 1.2 - (PCI 1.2) Requirement 6.3.1.5, Requirement 6.5.10, Requirement 7.2
[13] Standards Mapping - Payment Card Industry Data Security Standard Version 1.1 - (PCI 1.1) Requirement 6.5.2, Requirement 7.2
[14] Standards Mapping - Payment Card Industry Data Security Standard Version 2.0 - (PCI 2.0) Requirement 6.5.8, Requirement 7.2