Relative Content

Tag Archive for file-uploadfrontendfortifysast

Fortify Issue: Often Misused File Upload

Fortify is pointing issue at <input .
This Fortify recommended Recommendation: Do not allow file uploads if they can be avoided. If a program must accept file uploads, then restrict the ability of an attacker to supply malicious content by only accepting the specific types of content the program expects. Most attacks that rely on uploaded content require that attackers be able to supply content of their choosing. Placing restrictions on the content the program will accept will greatly limit the range of possible attacks. Check file names, extensions, and file content to make sure they are all expected and acceptable for use by the application.