WebSite X5Help Center

 
Vladimir A.
Vladimir A.
User

Malware was detected on my website  en

Auteur : Vladimir A.
Visité 923, Followers 1, Partagé 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!

Posté le
9 RéPONSES - 2 UTILE
Andre E
Andre E
Moderator

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

Lire plus
Posté le de Andre E
Vladimir A.
Vladimir A.
User
Auteur

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

Lire plus
Posté le de Vladimir A.
Vladimir A.
Vladimir A.
User
Auteur

And the file's size is exatly 130 bytes

Lire plus
Posté le de 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?

Lire plus
Posté le de Paul M.
Vladimir A.
Vladimir A.
User
Auteur

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

Lire plus
Posté le de 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.

Lire plus
Posté le de Andre E
Vladimir A.
Vladimir A.
User
Auteur

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.

Lire plus
Posté le de Vladimir A.