WebSite X5Help Center

 
Vladimir A.
Vladimir A.
User

Malware was detected on my website  en

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
9 RISPOSTE - 2 UTILI
Andre E
Andre E
Moderator

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

Leggi di più
Postato il da Andre E
Vladimir A.
Vladimir A.
User
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']));
}
 

Leggi di più
Postato il da Vladimir A.
Vladimir A.
Vladimir A.
User
Autore

And the file's size is exatly 130 bytes

Leggi di più
Postato il da 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?

Leggi di più
Postato il da Paul M.
Vladimir A.
Vladimir A.
User
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...

Leggi di più
Postato il da 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.

Leggi di più
Postato il da Andre E
Vladimir A.
Vladimir A.
User
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.

Leggi di più
Postato il da Vladimir A.