Opened 4 years ago

Closed 4 years ago

#2608 closed gap (fixed)

Improve uploader security on PW

Reported by: Kay Kittell Owned by: Kay Kittell
Priority: medium Milestone: Server 2.3.2
Component: Public Website 2 Version: N/A
Severity: Keywords:
Cc: Database Engine: N/A
Operating System: N/A

Description (last modified by Kay Kittell)

The PW currently uses a blacklist of files for determining if something can be uploaded for orders. This is not the recommended way ensuring malicious files aren't uploaded. Recommend a whitelist of only .pdf, .docx, and .txt files be allowed to be attached for web orders.

Change History (3)

comment:1 by Kay Kittell, 4 years ago

Description: modified (diff)

comment:2 by Kay Kittell, 4 years ago

Milestone: Next Release - Server → Server 2.3.2
Status: new → addressed

added new key to web.config that creates a whitelist of allowable file extensions to upload from the uploader. Whitelists are far more secure than blacklists, which is all it was using.

Version 0, edited 4 years ago by Kay Kittell (next)

comment:3 by Kay Kittell, 4 years ago

Resolution: → fixed
Status: addressed → closed
Note: See TracTickets for help on using tickets.