12.5.1 The web tier is configured to only serve files with a specific extensionΒΆ

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 X
Level 2 X
Level 3 X
CWE NIST
552