R042. Validate file format


The system must only accept files whose format (structure) is required by the business operation.


  1. CAPEC-165: File Manipulation. An attacker modifies file contents or attributes (such as extensions or names) of files in a manner to cause incorrect processing by an application.

  2. CWE-646: Reliance on File Name or Extension of Externally-Supplied File. The software allows a file to be uploaded, but it relies on the file name or extension of the file to determine the appropriate behaviors. This could be used by attackers to cause the file to be misclassified and processed in a dangerous fashion.

  3. OWASP-ASVS v4.0.1 V12.2 File Integrity Requirements.(12.2.1) Verify that files obtained from untrusted sources are validated to be of expected type based on the file’s content.

Service status - Terms of Use - Privacy Policy - Cookie Policy

Copyright © 2021 Fluid Attacks, We hack your software. All rights reserved.