Malware was detected on my website
Autore: Vladimir A.
Visite 1123,
Followers 1,
Condiviso 0
Hello, I've got an email from my hosting provider that the file generated by WebSite X5 is a malware. namely, imageupload.php. Not sure what is this about and would appreciate if one can help me out to understand the problem. Thanks!
Postato il
Hello Vladimir,
What is the address of your WebSite X5 website, please?
Kind regards,
Paul
Search the WebSite X5 Help Center
check the file size, it should be 130 byte if it is different then the file is probably hacked.
is an old version of Website ?
read this:
https://helpcenter.websitex5.com/it/post/233700#comment9
Autore
Hello Paul,
It's www.torontocactus.club and I'm using the latest X5 Pro release. The content of the file:
<?php
if (is_uploaded_file($_FILES['file']['tmp_name'])) {
echo base64_encode(file_get_contents($_FILES['file']['tmp_name']));
}
Autore
And the file's size is exatly 130 bytes
Thanks for the link, Vladimir.
I think Claudio has the answer... the English translation from the thread he linked to is as follows:
"PHP version 7.x is fine, so you can leave that. As indicated by Claudio, the warning concerns an old version of PHP Mailer used in previous versions. Loading the site with the new version this error should disappear"
So, update your project to the latest release, which is 2020.3.7 (the version on your server is 2020.2.6):
Download WebSite X5
And be sure to use a version of PHP equal or newer than PHP 7.1:
What are the minimum requirements for the server?
Autore
OK. My PHP version is 7.3 and therefroe it seems all right. I'm installing the 2020.7.3 version and will see if the issue disappears. I'll keep you posted...
In that case the file is good (not hacked), you have already some answers about the older versions, so you should be on your way.
Autore
Thank you everyone! I updated the software to 2020.3.7 and uploaded new content to the Host. Will see if they still report any troubles after that.