Need help with Joomla? We are available for hire to help with Joomla customization, upgrades, maintenance, and custom development.
Explore our services

Security update 5.8.1 and file upload

  • Frans Stuurman
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 hours 38 minutes ago #179037 by Frans Stuurman
Security update 5.8.1 and file upload was created by Frans Stuurman
Recently our server was compromised with a number of GIF files containing malware.
According to our service provider, the attack vector was "POST /index.php?option=com_eventbooking&task=upload_file&format=raw HTTP/1.1"
Where the files were placed in directory media/com_eventbooking/filesUnfortunately we were still on version 5.7.0. Meanwhile we upgraded to 5.8.1.

Question: Is 5.8.1 now secure against these types of uploads?

Thanks for answering,
Regards, Frans

Please Log in or Create an account to join the conversation.

More
9 hours 58 minutes ago #179040 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Security update 5.8.1 and file upload
Hi Frans

- If you do not use File custom field, then Yes, uploads won't be processed anymore. No need to worry about.


- If you use File custom field, there is no way block these kind of uploads. For example, someone can still upload .txt files to the folder. The type of file can be uploaded is controlled by Attachment File Types config option in Events Booking. There are protections added to reject files containing malware, so if it is normal files, it can be uploaded, but if it is malicious files, it will be blocked.
- You can use this hidden tool docs.joomdonation.com/eventsbooking/tools#remove-orphan-files to delete the files which were uploaded before and not associated to any registration records
- If you use File custom field type, and worry about the files uploaded by attackers, you can setup scheduled task to delete these files automatically, see docs.joomdonation.com/eventsbooking/sche.../delete-orphan-files

Regards,

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc