Opened 29 hours ago
Last modified 5 hours ago
#49725 new defect (bug)
Bug in plugin upload
Reported by: | offensive | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | Upload | Keywords: | dev-feedback |
Focuses: | administration | Cc: |
Description
bug in wordpress version 5.3.2
how to exploit:
- download wordpress and run into localhost.
- trying to upload plugin than they are showing here only upload .zip file.
- but we are trying to upload .php shell file.
- now see file is upload successfully in database.
Attachments (3)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Hi @offensive,
Welcome to WordPress Trac! Thanks for the ticket.
When I try to upload PHP file in plugin upload it shows me below error and uploaded file is move-in upload directory.
Installing Plugin from uploaded file: code.php
Unpacking the package…
The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature
Before moving the file in the upload folder system need to check it uploaded file has valid format than and then move the file in the upload directory