Salve amici,
ho da poco scoperto che uno dei miei siti invia in modo lento ma costante email verso il dominio "yandex.ru".
Gli indirizzi a cui invia le mail sono inesistenti e mi ritornano dei messaggi " Undelivered Mail Returned to Sender" dal mio server di posta.
Ecco i log recenti di php:
[03-Mar-2018 07:35:46 Europe/Berlin] mail() on [/var/www/miosito.it/public_html/libraries/vendor/phpmailer/phpmailer/class.phpmailer.php:702]: To: filippovleshka@yandex.ru -- Headers: Date: Sat, 3 Mar 2018 07:35:46 +0100 From: Hotel Byron <info@miosito.it> Message-ID: <5629059e56f35bc2f75cd4c60ce72e87@miosito.it> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit
[03-Mar-2018 08:02:06 Europe/Berlin] mail() on [/var/www/miosito.it/public_html/libraries/vendor/phpmailer/phpmailer/class.phpmailer.php:702]: To: cvetochek.zh@yandex.ru -- Headers: Date: Sat, 3 Mar 2018 08:02:06 +0100 From: Hotel Byron <info@miosito.it> Message-ID: <d47e80c56170f1448c86b27e7bf131e2@miosito.it> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit
[03-Mar-2018 08:23:48 Europe/Berlin] mail() on [/var/www/miosito.it/public_html/libraries/vendor/phpmailer/phpmailer/class.phpmailer.php:702]: To: atrenina@yandex.ru -- Headers: Date: Sat, 3 Mar 2018 08:23:48 +0100 From: Hotel Byron <info@miosito.it> Message-ID: <20ad5aa7a1a11bae392f2708850fd11a@miosito.it> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit
[03-Mar-2018 08:33:45 Europe/Berlin] mail() on [/var/www/miosito.it/public_html/libraries/vendor/phpmailer/phpmailer/class.phpmailer.php:702]: To: irina.pishhulina@yandex.ru -- Headers: Date: Sat, 3 Mar 2018 08:33:45 +0100 From: Hotel Byron <info@miosito.it> Message-ID: <383e312011f840c0a96e91c0b384fe47@miosito.it> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit
[03-Mar-2018 08:38:25 Europe/Berlin] mail() on [/var/www/miosito.it/public_html/libraries/vendor/phpmailer/phpmailer/class.phpmailer.php:702]: To: kalayhina.albina-tocka@yandex.ru -- Headers: Date: Sat, 3 Mar 2018 08:38:25 +0100 From: Hotel Byron <info@miosito.it> Message-ID: <eb18663df611518ca95ecbfcc0883bc4@miosito.it> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit
[03-Mar-2018 08:45:29 Europe/Berlin] mail() on [/var/www/miosito.it/public_html/libraries/vendor/phpmailer/phpmailer/class.phpmailer.php:702]: To: shetininmaks@yandex.ru -- Headers: Date: Sat, 3 Mar 2018 08:45:29 +0100 From: Hotel Byron <info@miosito.it> Message-ID: <ecb9e60150a85d1aa229b1d4e9f645c4@miosito.it> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit
[03-Mar-2018 08:53:47 Europe/Berlin] mail() on [/var/www/miosito.it/public_html/libraries/vendor/phpmailer/phpmailer/class.phpmailer.php:702]: To: ustyglubov.ust@yandex.ru -- Headers: Date: Sat, 3 Mar 2018 08:53:47 +0100 From: Hotel Byron <info@miosito.it> Message-ID: <03d72a0d151313464d28eb385ef30831@miosito.it> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit
[03-Mar-2018 09:21:26 Europe/Berlin] mail() on [/var/www/miosito.it/public_html/libraries/vendor/phpmailer/phpmailer/class.phpmailer.php:702]: To: crewbeat@yandex.ru -- Headers: Date: Sat, 3 Mar 2018 09:21:26 +0100 From: Hotel Byron <info@miosito.it> Message-ID: <a4a5a39ee61f99955a9df02391207340@miosito.it> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit
[03-Mar-2018 09:46:15 Europe/Berlin] mail() on [/var/www/miosito.it/public_html/libraries/vendor/phpmailer/phpmailer/class.phpmailer.php:702]: To: semenov.cska@yandex.ru -- Headers: Date: Sat, 3 Mar 2018 09:46:15 +0100 From: Hotel Byron <info@miosito.it> Message-ID: <adfdbe29adcc5159885c13daabd5f952@miosito.it> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit
Proprio qualche giorno fa aggiornando un plugin avevo visto che JED lo aveva eliminato perchè la versione aggiornata conteneva codice malevolo. Così l'ho ripristinato alla versione pulita.
Questo è il mio .htaccess:
# If you experience problems on your site then comment out the operations listed
# below by adding a # to the beginning of the line.
# This attempts to block the most common type of exploit `attempts` on Joomla!
#
# Block any script trying to base64_encode data within the URL.
RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
# Block any script that includes a <script> tag in URL.
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
# Block any script trying to set a PHP GLOBALS variable via URL.
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block any script trying to modify a _REQUEST variable via URL.
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Return 403 Forbidden header and show the content of the root home page
RewriteRule .* index.php [F]
#
## End - Rewrite rules to block out some common exploits.
## Begin - Custom redirects
#
# If you need to redirect some pages, or set a canonical non-www to
# www redirect (or vice versa), place that code here. Ensure those
# redirects use the correct RewriteRule syntax and the [R=301,L] flags.
#
## End - Custom redirects
##
# Uncomment the following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root).
##
# RewriteBase /
## Begin - Joomla! core SEF Section.
#
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
#
# If the requested path and file is not /index.php and the request
# has not already been internally rewritten to the index.php script
RewriteCond %{REQUEST_URI} !^/index\.php
# and the requested path and file doesn't directly match a physical file
RewriteCond %{REQUEST_FILENAME} !-f
# and the requested path and file doesn't directly match a physical folder
RewriteCond %{REQUEST_FILENAME} !-d
# internally rewrite the request to the index.php script
RewriteRule .* index.php [L]
#
## End - Joomla! core SEF Section.
Ho provato a cercare tra le estensioni qualcosa che contenga "yandex" ma senza esito.
Avete qualche consiglio? :-)
Grazie infinite