| Common Design Issues |
Description |
| Insufficient Input Validation: | Too much freedom naming files and not scrubbing names correctly for special characters could lead to directory traversal and overwriting system files. Could disrupt operation of entire web server. |
| No Virus Scanning | All uploaded files should be virus scanned. Failed scans should remove files and security incidents logged. |
| No Size Checks | Reasonable file limits should be set, determined by the type of files being uploaded (e.g. spreadsheets VS video files). |
| Invalid File Type Processing | Only accept file types relevant to what the expected upload is (e.g. don't allow .doc files if an image file is expected). |
| Direct Object Reference (DOM) Problems | DOR is an issue where the actual filename is pointed to directly. |
| Not Authorizing Access | Once a user is authenticated, many times they can perform any function in the application. Extra attention should be given to user authorization and permissions as well. |