Verify that the web tier is configured to serve only files with specific file extensions to prevent unintentional information and source code leakage. For example, backup files (e.g. .bak), temporary working files (e.g. .swp), compressed files (.zip, .tar.gz, etc) and other extensions commonly used by editors should be blocked unless required.
Level 1 required: True
Level 2 required: True
Level 3 required: True
CWE: 552
Verify that direct requests to uploaded files will never be executed as HTML/JavaScript content.
Level 1 required: True
Level 2 required: True
Level 3 required: True
CWE: 434
Credit via OWASP ASVS. For more information visit The OWASP ASVS Project or Github respository.. OWASP ASVS is under the Creative Commons Attribution-Share Alike v3.0 license.
Loading comments 0%