+V5.4 File Download
---+V5.4.1 Verify that the application validates or ignores user-submitted filenames, including in a JSON …
---+V5.4.2 Verify that file names served (e.g., in HTTP response header fields or email attachments) are …
---+V5.4.3 Verify that files obtained from untrusted sources are scanned by antivirus scanners to prevent …

V5.4 File Download

This section contains requirements to mitigate risks when serving files to be downloaded, including path traversal and injection attacks. This also includes making sure they don't contain dangerous content.

1. Prezentare generală

Titlu Standard
V5.4.1 Verify that the application validates or ignores user-submitted filenames, including in a JSON …

Verify that the application validates or ignores user-submitted filenames, including in a JSON, JSONP, or URL parameter and specifies a filename in the Content-Disposition header field in the response.

V5.4.2 Verify that file names served (e.g., in HTTP response header fields or email attachments) are …

Verify that file names served (e.g., in HTTP response header fields or email attachments) are encoded or sanitized (e.g., following RFC 6266) to preserve document structure and prevent injection attacks.

V5.4.3 Verify that files obtained from untrusted sources are scanned by antivirus scanners to prevent …

Verify that files obtained from untrusted sources are scanned by antivirus scanners to prevent serving of known malicious content.

1.1 Referințe

1.2 Cerințe identificate

1.3 Reglementări asociate

2. Cerințe identificate

Cerințe
Sursă Cerință

3. Reglementări asociate

Reglementări
Sursă Reglementare
  • OWASP -

    EN: Publications of the OWASP Foundation, https://owasp.org/. OWASP® is a registered trademark of the OWASP Foundation, Inc.; GRCA is not affiliated with, nor endorsed by, the OWASP Foundation. Only the versions published by OWASP are authoritative.

    DE: Veröffentlichungen der OWASP Foundation, https://owasp.org/. OWASP® ist eine eingetragene Marke der OWASP Foundation, Inc.; GRCA steht in keiner Verbindung zur OWASP Foundation und wird von ihr nicht unterstützt. Maßgeblich sind allein die von OWASP veröffentlichten Fassungen.