Skip to content

Commit

Permalink
Merge pull request #1458 from OWASP/1206-1253-grammatical-error
Browse files Browse the repository at this point in the history
Clarifying file download requirements
  • Loading branch information
jmanico authored Jan 2, 2023
2 parents 39163cd + 7e75271 commit 72597aa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions 5.0/en/0x20-V12-Files-Resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Although zip bombs are eminently testable using penetration testing techniques,
| :---: | :--- | :---: | :---: | :---: | :---: |
| **12.5.1** | [MOVED TO 14.3.6] | | | | |
| **12.5.2** | Verify that direct requests to uploaded files will never be executed as HTML/JavaScript content. |||| 434 |
| **12.5.3** | [MODIFIED, MOVED FROM 12.3.4] Verify that the application validates or ignoring user-submitted filenames, including in a JSON, JSONP, or URL parameter. The response Content-Type header and Content-Disposition header should be fixed to the file and securely handled by the application instead of the user. |||| 641 |
| **12.5.3** | [MODIFIED, MOVED FROM 12.3.4] 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 in the response. |||| 641 |

## V12.6 SSRF Protection

Expand All @@ -60,5 +60,4 @@ Although zip bombs are eminently testable using penetration testing techniques,
For more information, see also:

* [File Extension Handling for Sensitive Information](https://owasp.org/www-community/vulnerabilities/Unrestricted_File_Upload)
* [Reflective file download by Oren Hafif](https://www.trustwave.com/Resources/SpiderLabs-Blog/Reflected-File-Download---A-New-Web-Attack-Vector/)
* [OWASP Third Party JavaScript Management Cheat Sheet](https://cheatsheetseries.owasp.org/cheatsheets/Third_Party_Javascript_Management_Cheat_Sheet.html)

0 comments on commit 72597aa

Please sign in to comment.