Make WordPress Core

Opened 8 years ago

Last modified 8 years ago

#44868 new enhancement

Upload plugin and theme functionalities do not check on PATHINFO_EXTENSION before upload.

Reported by: csorbamedia Owned by:
Priority: normal Milestone: Future Release
Component: Upload Version:
Severity: normal Keywords: needs-patch
Cc: Focuses: administration

Description

If you go to /wp-admin/plugins.php click the button Add new and you upload a .sql file or whatever file then this is possible. The fille end-up in the wp-uploads/ folder and will not be removed. There should which will check the extension and removes it if it is not a .zip file.

Change History (2)

#1 @flixos90
8 years ago

  • Milestone Awaiting Review → Future Release

#2 @mukesh27
8 years ago

  • Component Upgrade/Install → Upload
  • Type defect (bug) → enhancement
  • Version 4.9.8
Note: See TracTickets for help on using tickets.