wget, apache and spam
Since a few months, I try to find a solution for my problem.
Indeed, files are put into /tmp/ (like dc.txt, email.txt, enviar.txt,
etc.) with the www-data (=apache) user.
In these files, there are perl scripts and mails (so much mails !!).
Perls scripts are running and send spam, so, my mail server is used to
send spams via the apache mail function.
The server was reinstalled 2 months agos, but this didn't fix the
problem. In apache's error.log file :
Connecting to 184.108.40.206:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 22 [text/plain]
Saving to: `email.txt'
0K 100% 1.73M=0s
A lot of lines like these ones, the "wget" function seems to be used...
There is nothing else in logs (/var/log). I don't know how files are put
(from where ?) in /tmp/, no rootkit seems existing.
Would you have any solution for me ? I don't know what to do... Maybe
there is a big big bug/fault in a hosted file for a hosted website.
Thanks a lot !