A
A
Alexander Babiy2019-06-24 15:48:49
PHPMailer
Alexander Babiy, 2019-06-24 15:48:49

Hacked via PHPMailer. How to protect yourself?

Good afternoon!
There is a land. Sending mail uses the PHPMAiler library. Latest version from github.
All fields are processed by the function example Yesterday, he discovered that all files on the host were damaged by a virus - code insertions appeared. Tell me how to protect yourself? It seems that such a vulnerability was fixed in versions older than 5.22
$email = htmlspecialchars($_POST["email"]);

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Aksentiev, 2019-06-24
@Sanasol

All fields are processed by the example function

and it does nothing to protect you.
How did you find out what it was through phpmailer? Is there another code on the site?
what is it?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question