WebSite X5Help Center

 
Vladimir A.
Vladimir A.
User

Malware was detected on my website  en

Autor: Vladimir A.
Visited 921, Followers 1, Udostępniony 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!

Posted on the
9 ODPOWIEDZI - 2 USEFUL
Andre E
Andre E
Moderator

check the file size, it should be 130 byte if it is different then the file is probably hacked.

Czytaj więcej
Posted on the from Andre E
Vladimir A.
Vladimir A.
User
Autor

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']));
}
 

Czytaj więcej
Posted on the from Vladimir A.
Vladimir A.
Vladimir A.
User
Autor

And the file's size is exatly 130 bytes

Czytaj więcej
Posted on the from Vladimir A.
Paul M.
Paul M.
Moderator

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?

Czytaj więcej
Posted on the from Paul M.
Vladimir A.
Vladimir A.
User
Autor

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...

Czytaj więcej
Posted on the from Vladimir A.
Andre E
Andre E
Moderator

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.

Czytaj więcej
Posted on the from Andre E
Vladimir A.
Vladimir A.
User
Autor

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.

Czytaj więcej
Posted on the from Vladimir A.